Clarify comments

This commit is contained in:
Nick Alteen 2024-04-12 12:56:34 -04:00
parent d8da8cf29d
commit 7ab0d1919b

View File

@ -49,7 +49,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: |
@ -59,8 +60,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