1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/upload-artifact.git synced 2024-11-08 10:22:39 +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-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