1
0
Fork 0
mirror of https://code.forgejo.org/actions/download-artifact.git synced 2024-09-20 02:36:12 +02:00
download-artifact/README.md

38 lines
633 B
Markdown
Raw Normal View History

2019-06-24 22:40:14 +02:00
# download-artifact
2019-07-23 21:28:49 +02:00
This downloads artifacts from your build.
# Usage
See [action.yml](action.yml)
Basic (upload current working directory):
```yaml
actions:
2019-07-23 21:31:39 +02:00
- uses: actions/checkout@master
2019-07-23 21:28:49 +02:00
2019-07-23 21:31:39 +02:00
- uses: actions/download-artifact@master
2019-07-23 21:28:49 +02:00
with:
name: my-artifact
- run: cat my-artifact
```
Download to specific directory:
```yaml
actions:
2019-07-23 21:31:39 +02:00
- uses: actions/checkout@master
2019-07-23 21:28:49 +02:00
2019-07-23 21:31:39 +02:00
- uses: actions/download-artifact@master
2019-07-23 21:28:49 +02:00
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)