mirror of
https://github.com/actions/upload-artifact.git
synced 2024-11-26 22:19:02 +00:00
ci(github): update action/download-artifact from v1 to v3 (#312)
Signed-off-by: Luís Ferreira <contact@lsferreira.net> Signed-off-by: Luís Ferreira <contact@lsferreira.net> Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
This commit is contained in:
parent
013d2b89ba
commit
0b7f8abb15
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -86,11 +86,9 @@ jobs:
|
||||
path/to/dir-[23]/*
|
||||
!path/to/dir-3/*.txt
|
||||
|
||||
# Verify artifacts. Switch to download-artifact@v2 once it's out of preview
|
||||
|
||||
# Download Artifact #1 and verify the correctness of the content
|
||||
- name: 'Download artifact #1'
|
||||
uses: actions/download-artifact@v1
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: 'Artifact-A'
|
||||
path: some/new/path
|
||||
@ -110,7 +108,7 @@ jobs:
|
||||
|
||||
# Download Artifact #2 and verify the correctness of the content
|
||||
- name: 'Download artifact #2'
|
||||
uses: actions/download-artifact@v1
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: 'artifact'
|
||||
path: some/other/path
|
||||
@ -131,7 +129,7 @@ jobs:
|
||||
|
||||
# Download Artifact #3 and verify the correctness of the content
|
||||
- name: 'Download artifact #3'
|
||||
uses: actions/download-artifact@v1
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: 'GZip-Artifact'
|
||||
path: gzip/artifact/path
|
||||
@ -151,7 +149,7 @@ jobs:
|
||||
shell: pwsh
|
||||
|
||||
- name: 'Download artifact #4'
|
||||
uses: actions/download-artifact@v1
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: 'Multi-Path-Artifact'
|
||||
path: multi/artifact
|
||||
|
Loading…
Reference in New Issue
Block a user