diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 5798200..7ea8603 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -43,7 +43,8 @@ jobs: id: build run: npm run bundle - # This will fail the workflow if the PR wasn't created by Dependabot. + # This will fail the workflow if the `dist/` directory is different than + # expected. - name: Compare Directories id: diff run: | @@ -53,8 +54,8 @@ jobs: exit 1 fi - # If `dist/` was different than expected, and this was not a Dependabot - # PR, upload the expected version as a workflow artifact. + # If `dist/` was different than expected, upload the expected version as a + # workflow artifact. - if: ${{ failure() && steps.diff.outcome == 'failure' }} name: Upload Artifact id: upload