mirror of
https://github.com/actions/download-artifact.git
synced 2024-11-09 18:53:33 -05:00
e76b5a2383
Update README.md
39 lines
695 B
Markdown
39 lines
695 B
Markdown
# download-artifact
|
|
|
|
This downloads artifacts from your build.
|
|
|
|
See also [upload-artifact](https://github.com/actions/upload-artifact).
|
|
|
|
# Usage
|
|
|
|
See [action.yml](action.yml)
|
|
|
|
Basic (download to current working directory):
|
|
```yaml
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/download-artifact@master
|
|
with:
|
|
name: my-artifact
|
|
|
|
- run: cat my-artifact
|
|
```
|
|
|
|
Download to specific directory:
|
|
```yaml
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/download-artifact@master
|
|
with:
|
|
name: my-artifact
|
|
path: path/to/artifact
|
|
|
|
- run: cat path/to/artifact
|
|
```
|
|
|
|
# License
|
|
|
|
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|