Clarify comments

This commit is contained in:
Nick Alteen
2024-04-12 12:52:37 -04:00
parent b8f604c84f
commit eaa7b84fa5

View File

@ -43,7 +43,8 @@ jobs:
id: build id: build
run: npm run bundle 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 - name: Compare Directories
id: diff id: diff
run: | run: |
@ -53,8 +54,8 @@ jobs:
exit 1 exit 1
fi fi
# If `dist/` was different than expected, and this was not a Dependabot # If `dist/` was different than expected, upload the expected version as a
# PR, upload the expected version as a workflow artifact. # workflow artifact.
- if: ${{ failure() && steps.diff.outcome == 'failure' }} - if: ${{ failure() && steps.diff.outcome == 'failure' }}
name: Upload Artifact name: Upload Artifact
id: upload id: upload