From 76c0a373d29c8de2b05be53480d8027c42782bf7 Mon Sep 17 00:00:00 2001 From: Luna Davis Date: Tue, 21 May 2024 15:09:34 -0700 Subject: [PATCH] Add LuaRocks installation step to publish-luarocks workflow --- .github/workflows/publish-luarocks.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish-luarocks.yaml b/.github/workflows/publish-luarocks.yaml index 46087b6..ae017f5 100644 --- a/.github/workflows/publish-luarocks.yaml +++ b/.github/workflows/publish-luarocks.yaml @@ -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