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 Backported-from: 820a340085 (ci: bump remaining outdated Actions versions, 2024-02-11) 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> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

Johannes Schindelin committed Feb 11, 2024 at 12:11 UTC 7e1bcc8d631c597d72b175aa649eb5e604e4dd68
1 file changed +8 -8
.github/workflows/main.yml
+8 -8
@@ -106,7 +106,7 @@ jobs:
106 - name: zip up tracked files
107 run: git archive -o artifacts/tracked.tar.gz HEAD
108 - name: upload tracked files and build artifacts
109 - uses: actions/upload-artifact@v3
109 + uses: actions/upload-artifact@v4
110 with:
111 name: windows-artifacts
112 path: artifacts
@@ -123,7 +123,7 @@ jobs:
123 cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
124 steps:
125 - name: download tracked files and build artifacts
126 - uses: actions/download-artifact@v3
126 + uses: actions/download-artifact@v4
127 with:
128 name: windows-artifacts
129 path: ${{github.workspace}}
@@ -140,7 +140,7 @@ jobs:
140 run: ci/print-test-failures.sh
141 - name: Upload failed tests' directories
142 if: failure() && env.FAILED_TEST_ARTIFACTS != ''
143 - uses: actions/upload-artifact@v3
143 + uses: actions/upload-artifact@v4
144 with:
145 name: failed-tests-windows
146 path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -195,7 +195,7 @@ jobs:
195 - name: zip up tracked files
196 run: git archive -o artifacts/tracked.tar.gz HEAD
197 - name: upload tracked files and build artifacts
198 - uses: actions/upload-artifact@v3
198 + uses: actions/upload-artifact@v4
199 with:
200 name: vs-artifacts
201 path: artifacts
@@ -213,7 +213,7 @@ jobs:
213 steps:
214 - uses: git-for-windows/setup-git-for-windows-sdk@v1
215 - name: download tracked files and build artifacts
216 - uses: actions/download-artifact@v3
216 + uses: actions/download-artifact@v4
217 with:
218 name: vs-artifacts
219 path: ${{github.workspace}}
@@ -231,7 +231,7 @@ jobs:
231 run: ci/print-test-failures.sh
232 - name: Upload failed tests' directories
233 if: failure() && env.FAILED_TEST_ARTIFACTS != ''
234 - uses: actions/upload-artifact@v3
234 + uses: actions/upload-artifact@v4
235 with:
236 name: failed-tests-windows
237 path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -293,7 +293,7 @@ jobs:
293 if: failure() && env.FAILED_TEST_ARTIFACTS != ''
294 - name: Upload failed tests' directories
295 if: failure() && env.FAILED_TEST_ARTIFACTS != ''
296 - uses: actions/upload-artifact@v3
296 + uses: actions/upload-artifact@v4
297 with:
298 name: failed-tests-${{matrix.vector.jobname}}
299 path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -329,7 +329,7 @@ jobs:
329 if: failure() && env.FAILED_TEST_ARTIFACTS != ''
330 - name: Upload failed tests' directories
331 if: failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname != 'linux32'
332 - uses: actions/upload-artifact@v3
332 + uses: actions/upload-artifact@v4
333 with:
334 name: failed-tests-${{matrix.vector.jobname}}
335 path: ${{env.FAILED_TEST_ARTIFACTS}}