1
0
Fork 0
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:
Brian Cristante 2021-08-10 10:36:02 -04:00
parent ffb7396e8e
commit e96a2a2fa3

View file

@ -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/