Skip to content

Commit 7e1bcc8

Browse files
committed
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: 820a340 (ci: bump remaining outdated Actions versions, 2024-02-11) Helped-by: Matthias Aßhauer <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f6bed64 commit 7e1bcc8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 8 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}}
@@ -329,7 +329,7 @@ jobs:
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}}

0 commit comments

Comments
 (0)