Fix env? #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Lune Script | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| run-lune: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Lune | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| # Download the latest Linux release of Lune | |
| gh release download --repo lune-org/lune --pattern "*linux-x86_64.zip" --output lune.zip | |
| # Unzip and make executable | |
| unzip lune.zip | |
| chmod +x lune | |
| # Move to a location in PATH (optional, or just call ./lune) | |
| sudo mv lune /usr/local/bin/ | |
| - name: Run Luau Script | |
| env: | |
| API_KEY: ${{ secrets.API_KEY }} | |
| ASSET_ID: ${{ secrets.ASSET_ID }} | |
| run: lune run compile-guidebook/main.luau |