diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 112c7b8..e165fd0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,9 +7,6 @@ jobs: name: Run Luau Tests runs-on: ubuntu-latest - outputs: - output1: ${{ steps.run_tests.outputs.result }} - steps: - name: Checkout Project uses: actions/checkout@v3 @@ -28,13 +25,11 @@ jobs: run: | output=$(./luau tests/world.luau) echo "$output" - echo "result=$output" >> "$GITHUB_OUTPUT" + echo "COMMAND_OUTPUT=$output" >> $GITHUB_ENV - name: Check Unit Tests - env: - OUTPUT1: ${{ needs.run_tests.outputs.result }} run: | - if [[ "${{ needs.run_tests.outputs.result }}" == *"0 fails"* ]]; then + if [[ "$COMMAND_OUTPUT" == *"0 fails"* ]]; then echo "Unit Tests Passed" else echo "Error: One or More Unit Tests Failed."