download-artifact/README.md

38 lines
633 B
Markdown
Raw Normal View History

2019-06-24 20:40:14 +00:00
# download-artifact
2019-07-23 19:28:49 +00:00
This downloads artifacts from your build.
# Usage
See [action.yml](action.yml)
Basic (upload current working directory):
```yaml
actions:
- uses: actions/checkout@latest
- uses: actions/download-artifact@latest
with:
name: my-artifact
- run: cat my-artifact
```
Download to specific directory:
```yaml
actions:
- uses: actions/checkout@latest
- uses: actions/download-artifact@latest
with:
name: my-artifact
path: path/to/artifact
- run: cat path/to/artifact/my-artifact
```
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)