1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-04-02 22:40: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 exit 1
fi 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 - uses: actions/upload-artifact@v2
if: ${{ failure() && steps.diff.conclusion == 'failure' }} if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with: with:
name: index.js name: dist
path: dist/index.js path: dist/