Skip to content

Commit 0766b55

Browse files
committed
Use gh-actions-lua to retrieve Lua
This should cache it for subsequent builds
1 parent 3c44dd5 commit 0766b55

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ runs:
3131
mkdir ~/Steam
3232
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf - -C ~/Steam
3333
34-
- name: Download Lua 5.3
35-
shell: bash
36-
run: |
37-
sudo apt-get install lua5.3
34+
- name: Setup Lua
35+
uses: leafo/gh-actions-lua@v12
36+
with:
37+
luaVersion: "5.3"
3838

3939
- name: Run gma packer
4040
shell: bash
4141
run: |
42-
lua5.3 ${{ github.action_path }}/gma.lua ${{ inputs.id }}.gma ${{ inputs.config }}
42+
lua ${{ github.action_path }}/gma.lua ${{ inputs.id }}.gma ${{ inputs.config }}
4343
4444
- name: Create .vdf file
4545
shell: bash

0 commit comments

Comments
 (0)