Skip to content

Commit c2914d4

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
2 parents 133a7b0 + 20e0ff8 commit c2914d4

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/coverity.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
# A cache miss will add ~30s to create, but a cache hit will save minutes.
9999
- name: restore the Coverity Build Tool
100100
id: cache
101-
uses: actions/cache/restore@v3
101+
uses: actions/cache/restore@v4
102102
with:
103103
path: ${{ runner.temp }}/cov-analysis
104104
key: cov-build-${{ env.COVERITY_LANGUAGE }}-${{ env.COVERITY_PLATFORM }}-${{ steps.lookup.outputs.hash }}
@@ -141,7 +141,7 @@ jobs:
141141
esac
142142
- name: cache the Coverity Build Tool
143143
if: steps.cache.outputs.cache-hit != 'true'
144-
uses: actions/cache/save@v3
144+
uses: actions/cache/save@v4
145145
with:
146146
path: ${{ runner.temp }}/cov-analysis
147147
key: cov-build-${{ env.COVERITY_LANGUAGE }}-${{ env.COVERITY_PLATFORM }}-${{ steps.lookup.outputs.hash }}

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
- name: zip up tracked files
124124
run: git archive -o artifacts/tracked.tar.gz HEAD
125125
- name: upload tracked files and build artifacts
126-
uses: actions/upload-artifact@v3
126+
uses: actions/upload-artifact@v4
127127
with:
128128
name: windows-artifacts
129129
path: artifacts
@@ -140,7 +140,7 @@ jobs:
140140
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
141141
steps:
142142
- name: download tracked files and build artifacts
143-
uses: actions/download-artifact@v3
143+
uses: actions/download-artifact@v4
144144
with:
145145
name: windows-artifacts
146146
path: ${{github.workspace}}
@@ -157,7 +157,7 @@ jobs:
157157
run: ci/print-test-failures.sh
158158
- name: Upload failed tests' directories
159159
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
160-
uses: actions/upload-artifact@v3
160+
uses: actions/upload-artifact@v4
161161
with:
162162
name: failed-tests-windows
163163
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -212,7 +212,7 @@ jobs:
212212
- name: zip up tracked files
213213
run: git archive -o artifacts/tracked.tar.gz HEAD
214214
- name: upload tracked files and build artifacts
215-
uses: actions/upload-artifact@v3
215+
uses: actions/upload-artifact@v4
216216
with:
217217
name: vs-artifacts
218218
path: artifacts
@@ -230,7 +230,7 @@ jobs:
230230
steps:
231231
- uses: git-for-windows/setup-git-for-windows-sdk@v1
232232
- name: download tracked files and build artifacts
233-
uses: actions/download-artifact@v3
233+
uses: actions/download-artifact@v4
234234
with:
235235
name: vs-artifacts
236236
path: ${{github.workspace}}
@@ -248,7 +248,7 @@ jobs:
248248
run: ci/print-test-failures.sh
249249
- name: Upload failed tests' directories
250250
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
251-
uses: actions/upload-artifact@v3
251+
uses: actions/upload-artifact@v4
252252
with:
253253
name: failed-tests-windows
254254
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -305,7 +305,7 @@ jobs:
305305
run: ci/print-test-failures.sh
306306
- name: Upload failed tests' directories
307307
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
308-
uses: actions/upload-artifact@v3
308+
uses: actions/upload-artifact@v4
309309
with:
310310
name: failed-tests-${{matrix.vector.jobname}}
311311
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -344,7 +344,7 @@ jobs:
344344
steps:
345345
- uses: actions/checkout@v4
346346
if: matrix.vector.jobname != 'linux32'
347-
- uses: actions/checkout@v1
347+
- uses: actions/checkout@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
348348
if: matrix.vector.jobname == 'linux32'
349349
- run: ci/install-docker-dependencies.sh
350350
- run: ci/run-build-and-tests.sh
@@ -353,13 +353,13 @@ jobs:
353353
run: ci/print-test-failures.sh
354354
- name: Upload failed tests' directories
355355
if: failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname != 'linux32'
356-
uses: actions/upload-artifact@v3
356+
uses: actions/upload-artifact@v4
357357
with:
358358
name: failed-tests-${{matrix.vector.jobname}}
359359
path: ${{env.FAILED_TEST_ARTIFACTS}}
360360
- name: Upload failed tests' directories
361361
if: failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname == 'linux32'
362-
uses: actions/upload-artifact@v1
362+
uses: actions/upload-artifact@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
363363
with:
364364
name: failed-tests-${{matrix.vector.jobname}}
365365
path: ${{env.FAILED_TEST_ARTIFACTS}}

0 commit comments

Comments
 (0)