Add if-not-found parameter

This commit is contained in:
Dario Curreri 2023-12-16 14:53:22 +01:00
parent 0706fbf5b9
commit 61eb988d37
No known key found for this signature in database
6 changed files with 222 additions and 23 deletions

View file

@ -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