1
0
Fork 0
mirror of https://github.com/actions/upload-artifact synced 2024-12-22 14:32:44 +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:
Luís Ferreira 2023-01-05 23:07:55 +00:00 committed by GitHub
parent 013d2b89ba
commit 0b7f8abb15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,11 +86,9 @@ jobs:
path/to/dir-[23]/* path/to/dir-[23]/*
!path/to/dir-3/*.txt !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 # Download Artifact #1 and verify the correctness of the content
- name: 'Download artifact #1' - name: 'Download artifact #1'
uses: actions/download-artifact@v1 uses: actions/download-artifact@v3
with: with:
name: 'Artifact-A' name: 'Artifact-A'
path: some/new/path path: some/new/path
@ -110,7 +108,7 @@ jobs:
# Download Artifact #2 and verify the correctness of the content # Download Artifact #2 and verify the correctness of the content
- name: 'Download artifact #2' - name: 'Download artifact #2'
uses: actions/download-artifact@v1 uses: actions/download-artifact@v3
with: with:
name: 'artifact' name: 'artifact'
path: some/other/path path: some/other/path
@ -131,7 +129,7 @@ jobs:
# Download Artifact #3 and verify the correctness of the content # Download Artifact #3 and verify the correctness of the content
- name: 'Download artifact #3' - name: 'Download artifact #3'
uses: actions/download-artifact@v1 uses: actions/download-artifact@v3
with: with:
name: 'GZip-Artifact' name: 'GZip-Artifact'
path: gzip/artifact/path path: gzip/artifact/path
@ -151,7 +149,7 @@ jobs:
shell: pwsh shell: pwsh
- name: 'Download artifact #4' - name: 'Download artifact #4'
uses: actions/download-artifact@v1 uses: actions/download-artifact@v3
with: with:
name: 'Multi-Path-Artifact' name: 'Multi-Path-Artifact'
path: multi/artifact path: multi/artifact