Skip to content

Commit 59b09a4

Browse files
committed
ci: More friendly error report
1 parent ec8aba4 commit 59b09a4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/vmm-ui.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,10 @@ jobs:
2929

3030
- name: Ensure vmm UI build is clean
3131
run: |
32-
test -z "$(git status --porcelain)"
32+
if [ -n "$(git status --porcelain)" ]; then
33+
echo "VMM UI build produced uncommitted changes."
34+
echo "Run: cd vmm/ui && npm ci && npm run build"
35+
echo "Then commit the updated build output `vmm/src/console_v1.html`"
36+
git status --porcelain
37+
exit 1
38+
fi

0 commit comments

Comments
 (0)