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
|
||||
|
||||
if test -f "$FILE"; then
|
||||
if zig build test; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
test -f "$FILE" || exit 1
|
||||
zig build test || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user