mirror of
https://github.com/actions/upload-artifact
synced 2024-12-22 06:22: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):
|
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
|
```yaml
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@v1
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: my-artifact
|
name: my-artifact
|
||||||
|
|
Loading…
Reference in a new issue