mirror of
https://github.com/Ukendio/jecs.git
synced 2025-08-04 11:19:17 +00:00
Combine steps
This commit is contained in:
parent
e2e3b002f3
commit
0cdd062661
1 changed files with 1 additions and 5 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
@ -25,16 +25,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
output=$(./luau tests/world.luau)
|
output=$(./luau tests/world.luau)
|
||||||
echo "$output"
|
echo "$output"
|
||||||
echo "COMMAND_OUTPUT=$output" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Check Unit Tests
|
|
||||||
run: |
|
|
||||||
if [[ "$COMMAND_OUTPUT" == *"0 fails"* ]]; then
|
if [[ "$COMMAND_OUTPUT" == *"0 fails"* ]]; then
|
||||||
echo "Unit Tests Passed"
|
echo "Unit Tests Passed"
|
||||||
else
|
else
|
||||||
echo "Error: One or More Unit Tests Failed."
|
echo "Error: One or More Unit Tests Failed."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Cleanup Luau Binaries
|
- name: Cleanup Luau Binaries
|
||||||
run: rm luau && rm luau-analyze && rm luau-compile && rm luau-ubuntu.zip && rm luau-link.txt
|
run: rm luau && rm luau-analyze && rm luau-compile && rm luau-ubuntu.zip && rm luau-link.txt
|
||||||
|
|
Loading…
Reference in a new issue