Use action instead to simplify CI

This commit is contained in:
EncodedVenom 2024-07-14 19:14:03 -04:00
parent 41aac07d56
commit 265608ba41
No known key found for this signature in database
GPG key ID: 55A4643DA68078EF

View file

@ -12,14 +12,8 @@ jobs:
- name: Checkout Project
uses: actions/checkout@v4
- name: Fetch Luau Latest Release
run: curl -s https://api.github.com/repos/luau-lang/luau/releases/latest | grep /luau-ubuntu.zip | cut -d '"' -f 4 > luau-link.txt
- name: Download Luau Latest Release
run: wget -i luau-link.txt
- name: Unzip binary
run: unzip luau-ubuntu.zip
- name: Install Luau
uses: encodedvenom/install-luau@v0.1
- name: Run Unit Tests
id: run_tests
@ -32,7 +26,3 @@ jobs:
echo "Error: One or More Unit Tests Failed."
exit 1
fi
- name: Cleanup Luau Binaries
if: '!cancelled()'
run: rm luau && rm luau-analyze && rm luau-compile && rm luau-ubuntu.zip && rm luau-link.txt