mirror of
https://github.com/actions/cache.git
synced 2025-05-23 01:11:47 +00:00
Update workflow.yml
This commit is contained in:
parent
5ba1e85d42
commit
fb1a5c22b5
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
@ -49,9 +49,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npm run build
|
npm run build
|
||||||
if [ "$(git status --porcelain | wc -l)" -gt "0" ]; then
|
if [ "$(git status --porcelain | wc -l)" -gt "0" ]; then
|
||||||
echo "Detected uncommitted changes after build"
|
echo "Detected uncommitted changes after build. See status below:"
|
||||||
git status
|
git status
|
||||||
exit 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user