mirror of
https://code.forgejo.org/forgejo/upload-artifact.git
synced 2024-12-22 14:32:45 +00:00
Update README.md
This commit is contained in:
parent
5f1f582ae4
commit
3446296876
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ steps:
|
|||
To upload artifacts only when the previous step of a job failed, use [`if: failure()`](https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions#job-status-check-functions):
|
||||
|
||||
```yaml
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@v1
|
||||
if: failure()
|
||||
with:
|
||||
name: my-artifact
|
||||
|
|
Loading…
Reference in a new issue