mirror of
https://code.forgejo.org/actions/upload-artifact.git
synced 2025-06-15 03:51:11 +00: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
|
# 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…
Add table
Add a link
Reference in a new issue