Skip to content

Commit c99af5f

Browse files
committed
ci: upgrade to using actions/{up,down}load-artifacts v2
The GitHub Actions to upload/download workflow artifacts saw a major upgrade since Git's GitHub workflow was established. Let's use it. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0c398d1 commit c99af5f

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
@@ -90,7 +90,7 @@ jobs:
9090
NO_PERL: 1
9191
run: ci/make-test-artifacts.sh artifacts
9292
- name: upload build artifacts
93-
uses: actions/upload-artifact@v1
93+
uses: actions/upload-artifact@v2
9494
with:
9595
name: windows-artifacts
9696
path: artifacts
@@ -104,7 +104,7 @@ jobs:
104104
steps:
105105
- uses: actions/checkout@v1
106106
- name: download build artifacts
107-
uses: actions/download-artifact@v1
107+
uses: actions/download-artifact@v2
108108
with:
109109
name: windows-artifacts
110110
path: ${{github.workspace}}
@@ -121,7 +121,7 @@ jobs:
121121
run: ci/print-test-failures.sh
122122
- name: Upload failed tests' directories
123123
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
124-
uses: actions/upload-artifact@v1
124+
uses: actions/upload-artifact@v2
125125
with:
126126
name: failed-tests-windows
127127
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -165,7 +165,7 @@ jobs:
165165
mkdir -p artifacts &&
166166
eval "$(make -n artifacts-tar INCLUDE_DLLS_IN_ARTIFACTS=YesPlease ARTIFACTS_DIRECTORY=artifacts 2>&1 | grep ^tar)"
167167
- name: upload build artifacts
168-
uses: actions/upload-artifact@v1
168+
uses: actions/upload-artifact@v2
169169
with:
170170
name: vs-artifacts
171171
path: artifacts
@@ -180,7 +180,7 @@ jobs:
180180
- uses: actions/checkout@v1
181181
- uses: git-for-windows/setup-git-for-windows-sdk@main
182182
- name: download build artifacts
183-
uses: actions/download-artifact@v1
183+
uses: actions/download-artifact@v2
184184
with:
185185
name: vs-artifacts
186186
path: ${{github.workspace}}
@@ -199,7 +199,7 @@ jobs:
199199
run: ci/print-test-failures.sh
200200
- name: Upload failed tests' directories
201201
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
202-
uses: actions/upload-artifact@v1
202+
uses: actions/upload-artifact@v2
203203
with:
204204
name: failed-tests-windows
205205
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -237,7 +237,7 @@ jobs:
237237
if: failure()
238238
- name: Upload failed tests' directories
239239
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
240-
uses: actions/upload-artifact@v1
240+
uses: actions/upload-artifact@v2
241241
with:
242242
name: failed-tests-${{matrix.vector.jobname}}
243243
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -264,7 +264,7 @@ jobs:
264264
if: failure()
265265
- name: Upload failed tests' directories
266266
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
267-
uses: actions/upload-artifact@v1
267+
uses: actions/upload-artifact@v2
268268
with:
269269
name: failed-tests-${{matrix.vector.jobname}}
270270
path: ${{env.FAILED_TEST_ARTIFACTS}}

0 commit comments

Comments
 (0)