Skip to content

Commit

Permalink
Add LuaRocks installation step to publish-luarocks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bytexenon committed May 21, 2024
1 parent 93ee004 commit 76c0a37
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/publish-luarocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ jobs:
with:
luaVersion: "5.4.0"

- name: Install LuaRocks
run: |
wget https://luarocks.github.io/luarocks/releases/luarocks-3.11.0.tar.gz
tar zxpf luarocks-3.11.0.tar.gz
cd luarocks-3.11.0
./configure; sudo make bootstrap
cd ..
rm -rf luarocks-3.11.0 luarocks-3.11.0.tar.gz
- name: Delete old rockspec files
run: |
git rm MathParser-*.rockspec || true
Expand Down

0 comments on commit 76c0a37

Please sign in to comment.