Skip to content

Commit

Permalink
fix: special case luajit
Browse files Browse the repository at this point in the history
god, i wish luajit would just build as 'lua'.
  • Loading branch information
aarondill committed Oct 3, 2024
1 parent 92b5553 commit 730a483
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lua-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: leafo/gh-actions-lua@ef9239997afff6d2d8b42ec9729c1d4b7f2f1302 # HACK: use the latest version of the action. When it is updated, use v10.0.1 instead!
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: ${{ matrix.luaVersion }}
- name: test against lua ${{ matrix.luaVersion }}
run: |
ls -la .lua/bin
lua ./test/init.lua
lua=$(command -v lua 2>/dev/null|| command -v luajit 2>/dev/null)
"$lua" ./test/init.lua

0 comments on commit 730a483

Please sign in to comment.