Skip to content

Commit 4e5ba7b

Browse files
authored
Update deployment actions
Should provide a speedup from faster artifact retrieval, and caching Yarn packages.
1 parent 72793fd commit 4e5ba7b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/deploy.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout virens
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
with:
1414
path: gbdevio
1515

1616
- name: Install NodeJS
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: '16.x'
20+
cache: yarn
2021

2122
- name: Install npm requirements
2223
run: yarn install
@@ -27,7 +28,7 @@ jobs:
2728
working-directory: gbdevio/
2829

2930
- name: Store final build
30-
uses: actions/upload-artifact@v2
31+
uses: actions/upload-artifact@v4
3132
with:
3233
name: Build output
3334
path: gbdevio/website/.vuepress/dist
@@ -38,7 +39,7 @@ jobs:
3839
needs: build
3940
steps:
4041
- name: Checkout virens/gh-pages
41-
uses: actions/checkout@v2
42+
uses: actions/checkout@v4
4243
with:
4344
path: gbdevio
4445
ref: master
@@ -48,7 +49,7 @@ jobs:
4849
rm -vrf gbdevio/*
4950
5051
- name: Unpack build
51-
uses: actions/download-artifact@v2
52+
uses: actions/download-artifact@v4
5253
with:
5354
name: Build output
5455
path: gbdevio/

0 commit comments

Comments
 (0)