Skip to content

Commit be6fd47

Browse files
committed
Update all deprecated GitHub Actions to latest versions
- Update actions/upload-artifact@v3 → v4 (2 instances) - Update actions/download-artifact@v3 → v4 (2 instances) - Update actions/setup-node@v2 → v4 (2 instances) - Update actions/checkout@v2 → v4 (1 instance) This resolves deprecation warnings and prevents workflow failures: - 'actions/download-artifact: v3' deprecation error - Future-proofs workflows against other deprecated versions Files updated: - deploy-preview.yml: artifact actions v3→v4 - deploy-live.yml: artifact actions v3→v4 - release-beta.yaml: setup-node v2→v4 - release.yaml: setup-node v2→v4 - combine-dependabot-prs.yml: checkout v2→v4
1 parent 027e250 commit be6fd47

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/combine-dependabot-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
console.log('Combined: ' + combined);
9090
return combined
9191
92-
- uses: actions/checkout@v2
92+
- uses: actions/checkout@v4
9393
with:
9494
fetch-depth: 0
9595

.github/workflows/deploy-live.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build site
3030
run: yarn build-demo && zip -r build.zip demo/build
3131

32-
- uses: actions/upload-artifact@v3
32+
- uses: actions/upload-artifact@v4
3333
with:
3434
name: build
3535
path: build.zip
@@ -49,7 +49,7 @@ jobs:
4949
node-version: "18"
5050
cache: "yarn"
5151

52-
- uses: actions/download-artifact@v3
52+
- uses: actions/download-artifact@v4
5353
with:
5454
name: build
5555

.github/workflows/deploy-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Build site
109109
run: yarn build-demo && zip -r build.zip demo/build
110110

111-
- uses: actions/upload-artifact@v3
111+
- uses: actions/upload-artifact@v4
112112
with:
113113
name: build
114114
path: build.zip
@@ -129,7 +129,7 @@ jobs:
129129
node-version: "18"
130130
cache: "yarn"
131131

132-
- uses: actions/download-artifact@v3
132+
- uses: actions/download-artifact@v4
133133
with:
134134
name: build
135135

.github/workflows/release-beta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- run: |
2121
git config user.name "github-actions[bot]"
2222
git config user.email "github-actions[bot]@users.noreply.github.com"
23-
- uses: actions/setup-node@v2
23+
- uses: actions/setup-node@v4
2424
with:
2525
node-version: "*"
2626
registry-url: "https://registry.npmjs.org"

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- run: |
2121
git config user.name "github-actions[bot]"
2222
git config user.email "github-actions[bot]@users.noreply.github.com"
23-
- uses: actions/setup-node@v2
23+
- uses: actions/setup-node@v4
2424
with:
2525
node-version: "*"
2626
registry-url: "https://registry.npmjs.org"

0 commit comments

Comments
 (0)