Skip to content

Commit bdc7c98

Browse files
fix: update deprecated GitHub Actions to v4
- Updated actions/upload-artifact from v3 to v4 - Updated actions/checkout from v3 to v4 - Updated actions/setup-node from v3 to v4 This fixes the CI failure due to deprecated action versions. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent d72bd48 commit bdc7c98

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
echo "${{ github.repository_owner }}" > ./workflow/ownerName
4949
- name: Upload artifact
5050
id: upload-artifact
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
5252
with:
5353
name: env_for_comment
5454
path: workflow/
@@ -60,7 +60,7 @@ jobs:
6060
steps:
6161
- name: Checkout
6262
id: checkout
63-
uses: actions/checkout@v3
63+
uses: actions/checkout@v4
6464
with:
6565
token: ${{ secrets.GITHUB_TOKEN }}
6666
repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -98,7 +98,7 @@ jobs:
9898
steps:
9999
- name: Checkout
100100
id: checkout-matrix
101-
uses: actions/checkout@v3
101+
uses: actions/checkout@v4
102102
with:
103103
repository: ${{ github.event.pull_request.head.repo.full_name }}
104104
ref: ${{ github.event.pull_request.head.ref }}
@@ -125,7 +125,7 @@ jobs:
125125
steps:
126126
- name: Checkout
127127
id: checkout-e2e
128-
uses: actions/checkout@v3
128+
uses: actions/checkout@v4
129129
with:
130130
repository: ${{ github.event.pull_request.head.repo.full_name }}
131131
ref: ${{ github.event.pull_request.head.ref }}
@@ -137,7 +137,7 @@ jobs:
137137

138138
- name: Set up node
139139
id: setup-node
140-
uses: actions/setup-node@v3
140+
uses: actions/setup-node@v4
141141
with:
142142
node-version: 18
143143
cache: 'pnpm'
@@ -172,7 +172,7 @@ jobs:
172172
173173
- name: Create artifacts for Allure report
174174
id: create-artifacts-allure-report
175-
uses: actions/upload-artifact@v3
175+
uses: actions/upload-artifact@v4
176176
if: always()
177177
with:
178178
name: allure-results

.github/workflows/on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
yarnHash: ${{ steps.set-matrix.outputs.matrix }}
4343
steps:
4444
- name: Checkout
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
repository: ${{ github.event.pull_request.head.repo.full_name }}
4848
ref: ${{ github.event.pull_request.head.ref }}

.github/workflows/on-workflow-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
fs.writeFileSync('${{github.workspace}}/allure-results.zip', Buffer.from(download.data));
7070
- run: unzip allure-results.zip
7171
- name: Get Allure history
72-
uses: actions/checkout@v3
72+
uses: actions/checkout@v4
7373
if: always()
7474
continue-on-error: true
7575
with:

0 commit comments

Comments
 (0)