mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-26 00:18:30 +02:00
Compat update
This commit is contained in:
parent
1162c7468e
commit
dd4e2ad2ae
1 changed files with 9 additions and 0 deletions
|
@ -60,6 +60,15 @@ With `v2`, there is no longer an extra directory that is created if the `path` i
|
||||||
... contents of my-artifact
|
... contents of my-artifact
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To maintain the same behavior for `v2`, you can set the `path` to the name of the artifact so an extra directory gets created.
|
||||||
|
```
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: my-artifact
|
||||||
|
path: my-artifact
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
# Download All Artifacts
|
# Download All Artifacts
|
||||||
|
|
||||||
If the `name` input parameter is not provided, all artifacts will be downloaded. To differentiate between downloaded artifacts, a directory denoted by the artifacts name will be created for each individual artifact.
|
If the `name` input parameter is not provided, all artifacts will be downloaded. To differentiate between downloaded artifacts, a directory denoted by the artifacts name will be created for each individual artifact.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue