mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-26 16:38:28 +02:00
Add if-not-found
parameter
This commit is contained in:
parent
0706fbf5b9
commit
61eb988d37
6 changed files with 222 additions and 23 deletions
|
@ -102,6 +102,15 @@ steps:
|
|||
run: ls -R your/destination/dir
|
||||
```
|
||||
|
||||
## Name not found
|
||||
|
||||
By default, if the name you provided doesn't exists or there are no artifacts, the action will raise an error.
|
||||
It is possible to change this behavior using the `if-not-found` optional parameter:
|
||||
|
||||
- `error`: output a warning but do not fail the action (default)
|
||||
- `warning`: fail the action with an error message
|
||||
- `ignore`: do not output any warnings or errors, the action does not fail
|
||||
|
||||
|
||||
### Download All Artifacts
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue