Refactor workflow commands
This commit is contained in:
parent
5a8e062118
commit
67bf04f85b
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -27,13 +27,5 @@ jobs:
|
|||||||
|
|
||||||
FILE=zig-cache/bin/zls
|
FILE=zig-cache/bin/zls
|
||||||
|
|
||||||
if test -f "$FILE"; then
|
test -f "$FILE" || exit 1
|
||||||
if zig build test; then
|
zig build test || exit 1
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user