Update README.md

This commit is contained in:
Danny McCormick 2019-07-23 15:28:49 -04:00 committed by GitHub
parent eddfd6e0fc
commit 062b83e7bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,37 @@
# download-artifact
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)