mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-26 00:18:30 +02:00
Update README
This commit is contained in:
parent
bb02294fd7
commit
1162c7468e
1 changed files with 4 additions and 4 deletions
|
@ -47,16 +47,16 @@ steps:
|
|||
|
||||
## Compatibility between `v1` and `v2`
|
||||
|
||||
When using `download-artifact@v1`, a directory denoted by the name of the artifact would be created. All of the contents would ne downloaded to this directory.
|
||||
When using `download-artifact@v1`, a directory denoted by the name of the artifact would be created if the `path` input was not provided. All of the contents would be downloaded to this directory.
|
||||
```
|
||||
path/to/artifact/
|
||||
current/working/directory/
|
||||
my-artifact/
|
||||
... contents of my-artifact
|
||||
```
|
||||
|
||||
With `v2`, there is no longer an extra directory that is created. All the contents are downloaded to the current working directory or to `path` if specified.
|
||||
With `v2`, there is no longer an extra directory that is created if the `path` input is not provided. All the contents are downloaded to the current working directory.
|
||||
```
|
||||
path/to/artifact/
|
||||
current/working/directory/
|
||||
... contents of my-artifact
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue