Skip to content

Commit 4b6cebc

Browse files
dschoGit for Windows Build Agent
authored andcommitted
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 2c996e9 commit 4b6cebc

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}}
@@ -170,7 +170,7 @@ jobs:
170170
mkdir -p artifacts &&
171171
eval "$(make -n artifacts-tar INCLUDE_DLLS_IN_ARTIFACTS=YesPlease ARTIFACTS_DIRECTORY=artifacts 2>&1 | grep ^tar)"
172172
- name: upload build artifacts
173-
uses: actions/upload-artifact@v1
173+
uses: actions/upload-artifact@v2
174174
with:
175175
name: vs-artifacts
176176
path: artifacts
@@ -185,7 +185,7 @@ jobs:
185185
- uses: actions/checkout@v1
186186
- uses: git-for-windows/setup-git-for-windows-sdk@v1
187187
- name: download build artifacts
188-
uses: actions/download-artifact@v1
188+
uses: actions/download-artifact@v2
189189
with:
190190
name: vs-artifacts
191191
path: ${{github.workspace}}
@@ -204,7 +204,7 @@ jobs:
204204
run: ci/print-test-failures.sh
205205
- name: Upload failed tests' directories
206206
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
207-
uses: actions/upload-artifact@v1
207+
uses: actions/upload-artifact@v2
208208
with:
209209
name: failed-tests-windows
210210
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -242,7 +242,7 @@ jobs:
242242
if: failure()
243243
- name: Upload failed tests' directories
244244
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
245-
uses: actions/upload-artifact@v1
245+
uses: actions/upload-artifact@v2
246246
with:
247247
name: failed-tests-${{matrix.vector.jobname}}
248248
path: ${{env.FAILED_TEST_ARTIFACTS}}
@@ -269,7 +269,7 @@ jobs:
269269
if: failure()
270270
- name: Upload failed tests' directories
271271
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
272-
uses: actions/upload-artifact@v1
272+
uses: actions/upload-artifact@v2
273273
with:
274274
name: failed-tests-${{matrix.vector.jobname}}
275275
path: ${{env.FAILED_TEST_ARTIFACTS}}

0 commit comments

Comments
 (0)