Skip to content

Commit 9e06401

Browse files
committed
Merge branch 'js/github-actions-update'
Update remaining GitHub Actions jobs to avoid warnings against using deprecated version of Node.js. * js/github-actions-update: ci(linux32): add a note about Actions that must not be updated ci: bump remaining outdated Actions versions With this backport, `maint-2.39`'s CI builds are finally healthy again. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 64f35ba + 213958f commit 9e06401

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
- name: zip up tracked files
107107
run: git archive -o artifacts/tracked.tar.gz HEAD
108108
- name: upload tracked files and build artifacts
109-
uses: actions/upload-artifact@v3
109+
uses: actions/upload-artifact@v4
110110
with:
111111
name: windows-artifacts
112112
path: artifacts
@@ -123,7 +123,7 @@ jobs:
123123
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
124124
steps:
125125
- name: download tracked files and build artifacts
126-
uses: actions/download-artifact@v3
126+
uses: actions/download-artifact@v4
127127
with:
128128
name: windows-artifacts
129129
path: ${{github.workspace}}
@@ -140,7 +140,7 @@ jobs:
140140
run: ci/print-test-failures.sh
141141
- name: Upload failed tests' directories
142142
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
143-
uses: actions/upload-artifact@v3
143+
uses: actions/upload-artifact@v4
144144
with:
145145
name: failed-tests-windows
146146
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -195,7 +195,7 @@ jobs:
195195
- name: zip up tracked files
196196
run: git archive -o artifacts/tracked.tar.gz HEAD
197197
- name: upload tracked files and build artifacts
198-
uses: actions/upload-artifact@v3
198+
uses: actions/upload-artifact@v4
199199
with:
200200
name: vs-artifacts
201201
path: artifacts
@@ -213,7 +213,7 @@ jobs:
213213
steps:
214214
- uses: git-for-windows/setup-git-for-windows-sdk@v1
215215
- name: download tracked files and build artifacts
216-
uses: actions/download-artifact@v3
216+
uses: actions/download-artifact@v4
217217
with:
218218
name: vs-artifacts
219219
path: ${{github.workspace}}
@@ -231,7 +231,7 @@ jobs:
231231
run: ci/print-test-failures.sh
232232
- name: Upload failed tests' directories
233233
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
234-
uses: actions/upload-artifact@v3
234+
uses: actions/upload-artifact@v4
235235
with:
236236
name: failed-tests-windows
237237
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -293,7 +293,7 @@ jobs:
293293
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
294294
- name: Upload failed tests' directories
295295
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
296-
uses: actions/upload-artifact@v3
296+
uses: actions/upload-artifact@v4
297297
with:
298298
name: failed-tests-${{matrix.vector.jobname}}
299299
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -321,21 +321,21 @@ jobs:
321321
steps:
322322
- uses: actions/checkout@v4
323323
if: matrix.vector.jobname != 'linux32'
324-
- uses: actions/checkout@v1
324+
- uses: actions/checkout@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
325325
if: matrix.vector.jobname == 'linux32'
326326
- run: ci/install-docker-dependencies.sh
327327
- run: ci/run-build-and-tests.sh
328328
- run: ci/print-test-failures.sh
329329
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
330330
- name: Upload failed tests' directories
331331
if: failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname != 'linux32'
332-
uses: actions/upload-artifact@v3
332+
uses: actions/upload-artifact@v4
333333
with:
334334
name: failed-tests-${{matrix.vector.jobname}}
335335
path: ${{env.FAILED_TEST_ARTIFACTS}}
336336
- name: Upload failed tests' directories
337337
if: failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname == 'linux32'
338-
uses: actions/upload-artifact@v1
338+
uses: actions/upload-artifact@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
339339
with:
340340
name: failed-tests-${{matrix.vector.jobname}}
341341
path: ${{env.FAILED_TEST_ARTIFACTS}}

0 commit comments

Comments
 (0)