add if failure()
parent
13d91b144a
commit
a110ccc247
|
@ -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…
Reference in New Issue