Refactor workflow commands
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user