mirror of
https://code.forgejo.org/actions/download-artifact.git
synced 2024-11-10 05:23:18 +01:00
37 lines
621 B
Markdown
37 lines
621 B
Markdown
# download-artifact
|
|
|
|
This downloads artifacts from your build.
|
|
|
|
# Usage
|
|
|
|
See [action.yml](action.yml)
|
|
|
|
Basic (upload current working directory):
|
|
```yaml
|
|
actions:
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/download-artifact@master
|
|
with:
|
|
name: my-artifact
|
|
|
|
- run: cat my-artifact
|
|
```
|
|
|
|
Download to specific directory:
|
|
```yaml
|
|
|
|
actions:
|
|
- 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)
|