Skip to content

Commit 76c0a37

Browse files
committed
Add LuaRocks installation step to publish-luarocks workflow
1 parent 93ee004 commit 76c0a37

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/publish-luarocks.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ jobs:
1717
with:
1818
luaVersion: "5.4.0"
1919

20+
- name: Install LuaRocks
21+
run: |
22+
wget https://luarocks.github.io/luarocks/releases/luarocks-3.11.0.tar.gz
23+
tar zxpf luarocks-3.11.0.tar.gz
24+
cd luarocks-3.11.0
25+
./configure; sudo make bootstrap
26+
cd ..
27+
rm -rf luarocks-3.11.0 luarocks-3.11.0.tar.gz
28+
2029
- name: Delete old rockspec files
2130
run: |
2231
git rm MathParser-*.rockspec || true

0 commit comments

Comments
 (0)