]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Lua workflow: Use Leafo's Luarocks action
authorLars Müller <34514239+appgurueu@users.noreply.github.com>
Sat, 28 May 2022 09:31:56 +0000 (11:31 +0200)
committerGitHub <noreply@github.com>
Sat, 28 May 2022 09:31:56 +0000 (11:31 +0200)
instead of installing outdated packages which lead to failing workflows

.github/workflows/lua.yml

index 3af4a6ee78065fe4123e8572659a229be87d46a5..2a728f2d3502898fe1f708d4a25d1166ded4751a 100644 (file)
@@ -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: |