diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index f6883f0..9d50b20 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -49,7 +49,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: | @@ -59,8 +60,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