mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-21 18:51:20 +00:00
add if failure()
This commit is contained in:
parent
13d91b144a
commit
a110ccc247
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
|
# If index.js was different than expected, upload the expected version as an artifact
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
if: ${{ steps.diff.conclusion == 'failure' }}
|
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||||
with:
|
with:
|
||||||
name: index.js
|
name: index.js
|
||||||
path: dist/index.js
|
path: dist/index.js
|
||||||
|
Loading…
Reference in New Issue
Block a user