Try different luarocks version syntax.

This commit is contained in:
David Given 2022-06-26 22:21:39 +02:00
parent e1f7296c41
commit 316bd318a3

View file

@ -20,7 +20,7 @@ jobs:
run: brew install ninja lua@5.1 luarocks run: brew install ninja lua@5.1 luarocks
- name: luarocks - name: luarocks
run: | run: |
luarocks install --lua-dir=/usr/local/opt/lua@5.1 lua-posix luarocks install --lua-version 5.1 lua-posix
- name: make - name: make
run: make LUA=lua run: make LUA=lua
@ -45,7 +45,7 @@ jobs:
zip zip
- name: luarocks - name: luarocks
run: | run: |
/mingw32/bin/luarocks install lua-posix /mingw32/bin/luarocks --lua-version 5.1 install lua-posix
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: build - name: build
run: | run: |