Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 996 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 996 Bytes

install-luau

A simple script that adds luau binaries to your path in a github workflow.

Now available on the GitHub Marketplace!

Use Guide

Put this before your steps you want to use luau with:

- name: Install Luau
  uses: encodedvenom/install-luau@v3

It's that simple.

Once you have this done, you can use it in your CI scripts. Here's an example from Jecs's CI script:

- name: Run Unit Tests
  id: run_tests
  run: |
    output=$(luau test/tests.luau)
    echo "$output"
    if [[ "$output" == *"0 fails"* ]]; then
      echo "Unit Tests Passed"
    else
      echo "Error: One or More Unit Tests Failed."
      exit 1
    fi

Runners Supported

This project officially supports windows-latest and ubuntu-latest. For unknown reasons, the macOS runner will not play nice, and therefore should not be used alongside this action.