mirror of
https://github.com/actions/checkout.git
synced 2025-04-01 22:10:06 +02:00
Upload the whole dist/ directory as an artifact
This commit is contained in:
parent
ffb7396e8e
commit
e96a2a2fa3
1 changed files with 3 additions and 3 deletions
6
.github/workflows/check-dist.yml
vendored
6
.github/workflows/check-dist.yml
vendored
|
@ -43,9 +43,9 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# If index.js was different than expected, upload the expected version as an artifact
|
||||
# If dist/ was different than expected, upload the expected version as an artifact
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||
with:
|
||||
name: index.js
|
||||
path: dist/index.js
|
||||
name: dist
|
||||
path: dist/
|
||||
|
|
Loading…
Add table
Reference in a new issue