Skip to content

Commit 820a340

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent dcce2bd commit 820a340

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
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: 8 additions & 8 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}}
@@ -353,7 +353,7 @@ 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}}

0 commit comments

Comments
 (0)