Skip to content

Commit

Permalink
Update check-dist.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aimocs authored Sep 9, 2024
1 parent b0474d4 commit d2b8ad4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/check-dist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
- name: Rebuild the dist/ directory
run: yarn run dist

- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
id: diff
# - name: Compare the expected and actual dist/ directories
# run: |
# if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
# echo "Detected uncommitted changes after build. See status below:"
# git diff
# exit 1
# fi
# id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit d2b8ad4

Please sign in to comment.