Skip to content

Commit 2e8ac76

Browse files
authored
fix: add missing id to check-dist compare step (#31) (#42)
The upload-artifact step's conditional referenced steps.diff.conclusion, but the compare step had no id, so the reference was always undefined. Add id: diff so the conditional resolves correctly.
1 parent 663cc08 commit 2e8ac76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/check-dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
run: npm run build
3737

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

0 commit comments

Comments
 (0)