mirror of https://github.com/actions/checkout
Compare commits
2 Commits
7f9137e3cf
...
0f8571d930
| Author | SHA1 | Date |
|---|---|---|
|
|
0f8571d930 | |
|
|
bd20334687 |
|
|
@ -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 New Issue