mirror of
https://github.com/actions/upload-artifact.git
synced 2024-11-23 23:55:11 +08:00
Update README.md
This commit is contained in:
parent
5f1f582ae4
commit
3446296876
@ -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 New Issue
Block a user