Skip to content

Commit a4af5ed

Browse files
committed
Update github workflow to use upload/download artifact v4
v2 is giving an error: Error: This request has been automatically failed because it uses a deprecated version of . Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
1 parent bfc31b4 commit a4af5ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/validate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# run: cp -r assets _site/assets
3535

3636
- name: Publish built site
37-
uses: actions/upload-artifact@v2
37+
uses: actions/upload-artifact@v4
3838
with:
3939
name: Built site ${{ github.run_number }}
4040
path: ./_site
@@ -48,7 +48,7 @@ jobs:
4848

4949
steps:
5050
- name: Fetch built site
51-
uses: actions/download-artifact@v2
51+
uses: actions/download-artifact@v4
5252
with:
5353
name: Built site ${{ github.run_number }}
5454
path: ./_site
@@ -67,7 +67,7 @@ jobs:
6767

6868
steps:
6969
- name: Fetch built site
70-
uses: actions/download-artifact@v2
70+
uses: actions/download-artifact@v4
7171
with:
7272
name: Built site ${{ github.run_number }}
7373
path: ./_site
@@ -99,7 +99,7 @@ jobs:
9999
- name: Fetch repository for `lighthouserc.json`
100100
uses: actions/checkout@v2
101101
- name: Fetch built site
102-
uses: actions/download-artifact@v2
102+
uses: actions/download-artifact@v4
103103
with:
104104
name: Built site ${{ github.run_number }}
105105
path: ./_site

0 commit comments

Comments
 (0)