Skip to content

Commit bf90842

Browse files
committed
ci/actions/build: check error numerically
1 parent b2a158b commit bf90842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ runs:
9292
echo "$ok build groups succeeded"
9393
echo "$error build groups failed"
9494
) >&2
95-
if [ $error ]; then
95+
if [ "$error" -gt 0 ]; then
9696
exit 1
9797
fi

0 commit comments

Comments
 (0)