mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-19 15:04:45 +02:00
add if failure()
This commit is contained in:
parent
13d91b144a
commit
a110ccc247
1 changed files with 1 additions and 1 deletions
2
.github/workflows/check-dist.yml
vendored
2
.github/workflows/check-dist.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
|||
|
||||
# If index.js was different than expected, upload the expected version as an artifact
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ steps.diff.conclusion == 'failure' }}
|
||||
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||
with:
|
||||
name: index.js
|
||||
path: dist/index.js
|
||||
|
|
Loading…
Add table
Reference in a new issue