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
ec85c03339
commit
b2dcba71bb
@ -46,6 +46,15 @@ steps:
|
|||||||
working-directory: path/to/artifact
|
working-directory: path/to/artifact
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Basic tilde expansion is supported for the `path` input
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: my-artifact
|
||||||
|
path: ~/download/path
|
||||||
|
```
|
||||||
|
|
||||||
## 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 if the `path` input was not provided. All of the contents would be 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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user