mirror of
https://github.com/actions/download-artifact.git
synced 2025-11-02 17:03:40 +00:00
Update README
This commit is contained in:
parent
bb02294fd7
commit
1162c7468e
@ -47,16 +47,16 @@ steps:
|
|||||||
|
|
||||||
## Compatibility between `v1` and `v2`
|
## 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/
|
my-artifact/
|
||||||
... contents of 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
|
... contents of my-artifact
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user