aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Müller <34514239+appgurueu@users.noreply.github.com>2022-05-28 11:31:56 +0200
committerGitHub <noreply@github.com>2022-05-28 11:31:56 +0200
commit76000e676bde0191d64dc0afd2f3ae74bb6c40b5 (patch)
treef39316982f2174b1cc7bba656f00936042a6f67d
parente8b2954586ebd9e35e3f9f7230ff6713b65c4967 (diff)
downloadhax-minetest-server-76000e676bde0191d64dc0afd2f3ae74bb6c40b5.tar.gz
hax-minetest-server-76000e676bde0191d64dc0afd2f3ae74bb6c40b5.zip
Lua workflow: Use Leafo's Luarocks action
instead of installing outdated packages which lead to failing workflows
-rw-r--r--.github/workflows/lua.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml
index 3af4a6ee7..2a728f2d3 100644
--- a/.github/workflows/lua.yml
+++ b/.github/workflows/lua.yml
@@ -42,9 +42,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- - name: Install luarocks
- run: |
- sudo apt-get update && sudo apt-get install -y luarocks
+ - uses: leafo/gh-actions-lua@v9
+ with:
+ luaVersion: "5.1.5"
+ - uses: leafo/gh-actions-luarocks@v4
- name: Install luarocks tools
run: |