6363 echo "skip_concurrent=$skip_concurrent" >>$GITHUB_OUTPUT
6464 - name : skip if the commit or tree was already tested
6565 id : skip-if-redundant
66- uses : actions/github-script@v6
66+ uses : actions/github-script@v7
6767 if : steps.check-ref.outputs.enabled == 'yes'
6868 with :
6969 github-token : ${{secrets.GITHUB_TOKEN}}
@@ -112,7 +112,7 @@ jobs:
112112 group : windows-build-${{ github.ref }}
113113 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
114114 steps :
115- - uses : actions/checkout@v3
115+ - uses : actions/checkout@v4
116116 - uses : git-for-windows/setup-git-for-windows-sdk@v1
117117 - name : build
118118 shell : bash
@@ -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}}
@@ -176,10 +176,10 @@ jobs:
176176 group : vs-build-${{ github.ref }}-${{ matrix.arch }}
177177 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
178178 steps :
179- - uses : actions/checkout@v3
179+ - uses : actions/checkout@v4
180180 - uses : git-for-windows/setup-git-for-windows-sdk@v1
181181 - name : initialize vcpkg
182- uses : actions/checkout@v3
182+ uses : actions/checkout@v4
183183 with :
184184 repository : ' microsoft/vcpkg'
185185 path : ' compat/vcbuild/vcpkg'
@@ -211,7 +211,7 @@ jobs:
211211 - name : zip up tracked files
212212 run : git archive -o artifacts/tracked.tar.gz HEAD
213213 - name : upload tracked files and build artifacts
214- uses : actions/upload-artifact@v3
214+ uses : actions/upload-artifact@v4
215215 with :
216216 name : vs-artifacts-${{ matrix.arch }}
217217 path : artifacts
@@ -229,7 +229,7 @@ jobs:
229229 steps :
230230 - uses : git-for-windows/setup-git-for-windows-sdk@v1
231231 - name : download tracked files and build artifacts
232- uses : actions/download-artifact@v3
232+ uses : actions/download-artifact@v4
233233 with :
234234 name : vs-artifacts-x64
235235 path : ${{github.workspace}}
@@ -247,7 +247,7 @@ jobs:
247247 run : ci/print-test-failures.sh
248248 - name : Upload failed tests' directories
249249 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
250- uses : actions/upload-artifact@v3
250+ uses : actions/upload-artifact@v4
251251 with :
252252 name : failed-tests-windows
253253 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -296,15 +296,15 @@ jobs:
296296 runs_on_pool : ${{matrix.vector.pool}}
297297 runs-on : ${{matrix.vector.pool}}
298298 steps :
299- - uses : actions/checkout@v3
299+ - uses : actions/checkout@v4
300300 - run : ci/install-dependencies.sh
301301 - run : ci/run-build-and-tests.sh
302302 - name : print test failures
303303 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
304304 run : ci/print-test-failures.sh
305305 - name : Upload failed tests' directories
306306 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
307- uses : actions/upload-artifact@v3
307+ uses : actions/upload-artifact@v4
308308 with :
309309 name : failed-tests-${{matrix.vector.jobname}}
310310 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -330,9 +330,9 @@ jobs:
330330 runs-on : ubuntu-latest
331331 container : ${{matrix.vector.image}}
332332 steps :
333- - uses : actions/checkout@v3
333+ - uses : actions/checkout@v4
334334 if : matrix.vector.jobname != 'linux32'
335- - uses : actions/checkout@v1
335+ - uses : actions/checkout@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
336336 if : matrix.vector.jobname == 'linux32'
337337 - run : ci/install-docker-dependencies.sh
338338 - run : ci/run-build-and-tests.sh
@@ -341,13 +341,13 @@ jobs:
341341 run : ci/print-test-failures.sh
342342 - name : Upload failed tests' directories
343343 if : failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname != 'linux32'
344- uses : actions/upload-artifact@v3
344+ uses : actions/upload-artifact@v4
345345 with :
346346 name : failed-tests-${{matrix.vector.jobname}}
347347 path : ${{env.FAILED_TEST_ARTIFACTS}}
348348 - name : Upload failed tests' directories
349349 if : failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname == 'linux32'
350- uses : actions/upload-artifact@v1
350+ uses : actions/upload-artifact@v1 # cannot be upgraded because Node.js Actions aren't supported in this container
351351 with :
352352 name : failed-tests-${{matrix.vector.jobname}}
353353 path : ${{env.FAILED_TEST_ARTIFACTS}}
@@ -361,7 +361,7 @@ jobs:
361361 group : static-analysis-${{ github.ref }}
362362 cancel-in-progress : ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
363363 steps :
364- - uses : actions/checkout@v3
364+ - uses : actions/checkout@v4
365365 - run : ci/install-dependencies.sh
366366 - run : ci/run-static-analysis.sh
367367 - run : ci/check-directional-formatting.bash
@@ -384,7 +384,7 @@ jobs:
384384 artifact : sparse-20.04
385385 - name : Install the current `sparse` package
386386 run : sudo dpkg -i sparse-20.04/sparse_*.deb
387- - uses : actions/checkout@v3
387+ - uses : actions/checkout@v4
388388 - name : Install other dependencies
389389 run : ci/install-dependencies.sh
390390 - run : make sparse
@@ -399,6 +399,6 @@ jobs:
399399 jobname : Documentation
400400 runs-on : ubuntu-latest
401401 steps :
402- - uses : actions/checkout@v3
402+ - uses : actions/checkout@v4
403403 - run : ci/install-dependencies.sh
404404 - run : ci/test-documentation.sh
0 commit comments