mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
Use action instead to simplify CI
This commit is contained in:
parent
41aac07d56
commit
265608ba41
1 changed files with 3 additions and 13 deletions
16
.github/workflows/ci.yaml
vendored
16
.github/workflows/ci.yaml
vendored
|
@ -12,14 +12,8 @@ jobs:
|
||||||
- name: Checkout Project
|
- name: Checkout Project
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Fetch Luau Latest Release
|
- name: Install Luau
|
||||||
run: curl -s https://api.github.com/repos/luau-lang/luau/releases/latest | grep /luau-ubuntu.zip | cut -d '"' -f 4 > luau-link.txt
|
uses: encodedvenom/install-luau@v0.1
|
||||||
|
|
||||||
- name: Download Luau Latest Release
|
|
||||||
run: wget -i luau-link.txt
|
|
||||||
|
|
||||||
- name: Unzip binary
|
|
||||||
run: unzip luau-ubuntu.zip
|
|
||||||
|
|
||||||
- name: Run Unit Tests
|
- name: Run Unit Tests
|
||||||
id: run_tests
|
id: run_tests
|
||||||
|
@ -31,8 +25,4 @@ jobs:
|
||||||
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
|
|
||||||
if: '!cancelled()'
|
|
||||||
run: rm luau && rm luau-analyze && rm luau-compile && rm luau-ubuntu.zip && rm luau-link.txt
|
|
Loading…
Reference in a new issue