mirror of
https://github.com/actions/checkout.git
synced 2025-12-14 00:41:14 +00:00
fix: Add missing step id for artifact upload condition
This commit is contained in:
parent
8e8c483db8
commit
bd20334687
1 changed files with 1 additions and 0 deletions
1
.github/workflows/check-dist.yml
vendored
1
.github/workflows/check-dist.yml
vendored
|
|
@ -36,6 +36,7 @@ jobs:
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Compare the expected and actual dist/ directories
|
- name: Compare the expected and actual dist/ directories
|
||||||
|
id: diff
|
||||||
run: |
|
run: |
|
||||||
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
|
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
|
||||||
echo "Detected uncommitted changes after build. See status below:"
|
echo "Detected uncommitted changes after build. See status below:"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue