ci: bump remaining outdated Actions versions
After activating automatic Dependabot updates in the git-for-windows/git repository, Dependabot noticed a couple of yet-unaddressed updates. They avoid "Node.js 16 Actions" deprecation messages by bumping the following Actions' versions: - actions/upload-artifact from 3 to 4 - actions/download-artifact from 3 to 4 - actions/cache from 3 to 4 Helped-by: Matthias Aßhauer <mha1993@live.de> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Feb 11, 2024 at 12:11 UTC
820a3400851a018883a7396867aa679c3acb5568
2 files changed
+10
-10
.github/workflows/coverity.yml
+2
-2
@@ -98,7 +98,7 @@ jobs:
98
# A cache miss will add ~30s to create, but a cache hit will save minutes.
99
- name: restore the Coverity Build Tool
100
id: cache
101
- uses: actions/cache/restore@v3
101
+ uses: actions/cache/restore@v4
102
with:
103
path: ${{ runner.temp }}/cov-analysis
104
key: cov-build-${{ env.COVERITY_LANGUAGE }}-${{ env.COVERITY_PLATFORM }}-${{ steps.lookup.outputs.hash }}
@@ -141,7 +141,7 @@ jobs:
141
esac
142
- name: cache the Coverity Build Tool
143
if: steps.cache.outputs.cache-hit != 'true'
144
- uses: actions/cache/save@v3
144
+ uses: actions/cache/save@v4
145
with:
146
path: ${{ runner.temp }}/cov-analysis
147
key: cov-build-${{ env.COVERITY_LANGUAGE }}-${{ env.COVERITY_PLATFORM }}-${{ steps.lookup.outputs.hash }}
.github/workflows/main.yml
+8
-8
@@ -123,7 +123,7 @@ jobs:
123
- name: zip up tracked files
124
run: git archive -o artifacts/tracked.tar.gz HEAD
125
- name: upload tracked files and build artifacts
126
- uses: actions/upload-artifact@v3
126
+ uses: actions/upload-artifact@v4
127
with:
128
name: windows-artifacts
129
path: artifacts
@@ -140,7 +140,7 @@ jobs:
140
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
141
steps:
142
- name: download tracked files and build artifacts
143
- uses: actions/download-artifact@v3
143
+ uses: actions/download-artifact@v4
144
with:
145
name: windows-artifacts
146
path: ${{github.workspace}}
@@ -157,7 +157,7 @@ jobs:
157
run: ci/print-test-failures.sh
158
- name: Upload failed tests' directories
159
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
160
- uses: actions/upload-artifact@v3
160
+ uses: actions/upload-artifact@v4
161
with:
162
name: failed-tests-windows
163
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -212,7 +212,7 @@ jobs:
212
- name: zip up tracked files
213
run: git archive -o artifacts/tracked.tar.gz HEAD
214
- name: upload tracked files and build artifacts
215
- uses: actions/upload-artifact@v3
215
+ uses: actions/upload-artifact@v4
216
with:
217
name: vs-artifacts
218
path: artifacts
@@ -230,7 +230,7 @@ jobs:
230
steps:
231
- uses: git-for-windows/setup-git-for-windows-sdk@v1
232
- name: download tracked files and build artifacts
233
- uses: actions/download-artifact@v3
233
+ uses: actions/download-artifact@v4
234
with:
235
name: vs-artifacts
236
path: ${{github.workspace}}
@@ -248,7 +248,7 @@ jobs:
248
run: ci/print-test-failures.sh
249
- name: Upload failed tests' directories
250
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
251
- uses: actions/upload-artifact@v3
251
+ uses: actions/upload-artifact@v4
252
with:
253
name: failed-tests-windows
254
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -305,7 +305,7 @@ jobs:
305
run: ci/print-test-failures.sh
306
- name: Upload failed tests' directories
307
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
308
- uses: actions/upload-artifact@v3
308
+ uses: actions/upload-artifact@v4
309
with:
310
name: failed-tests-${{matrix.vector.jobname}}
311
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -353,7 +353,7 @@ jobs:
353
run: ci/print-test-failures.sh
354
- name: Upload failed tests' directories
355
if: failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname != 'linux32'
356
- uses: actions/upload-artifact@v3
356
+ uses: actions/upload-artifact@v4
357
with:
358
name: failed-tests-${{matrix.vector.jobname}}
359
path: ${{env.FAILED_TEST_ARTIFACTS}}