download-artifact/README.md

38 lines
617 B
Markdown
Raw Normal View History

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