Skip to content

Commit c4e8a8c

Browse files
committed
Lua: update to 5.4.8
1 parent c1e8c4a commit c4e8a8c

File tree

4 files changed

+20
-14
lines changed

4 files changed

+20
-14
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1"]
13+
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.8", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1"]
1414

1515

1616
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.4", "luajit", "luajit-2.0", "luajit-2.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"]
10+
luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.8", "luajit", "luajit-2.0", "luajit-2.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"]
1111
machineTag: ["ubuntu-latest", "macos-latest", "windows-latest"]
1212
exclude:
1313
- luaVersion: "luajit-2.0"
@@ -33,15 +33,17 @@ jobs:
3333
buildCache: false
3434

3535
- name: Test Lua
36-
run: lua -e "print('hi from lua')"
36+
run: |
37+
lua -v
38+
lua -e "print('hi from lua')"
3739
3840
test-cache:
3941
needs: test
4042

4143
strategy:
4244
fail-fast: false
4345
matrix:
44-
luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.4", "luajit", "luajit-2.0", "luajit-2.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"]
46+
luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.8", "luajit", "luajit-2.0", "luajit-2.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"]
4547
machineTag: ["ubuntu-latest", "macos-latest", "windows-latest"]
4648
exclude:
4749
- luaVersion: "luajit-2.0"
@@ -58,10 +60,14 @@ jobs:
5860
steps:
5961
- uses: actions/checkout@main
6062

63+
- uses: ilammy/msvc-dev-cmd@v1
64+
6165
- name: Get Lua from cache
6266
uses: './'
6367
with:
6468
luaVersion: ${{ matrix.luaVersion }}
6569

6670
- name: Test Lua
67-
run: lua -e "print('hi from lua')"
71+
run: |
72+
lua -v
73+
lua -e "print('hi from lua')"

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@ Other Lua GitHub actions:
1919

2020
## Usage
2121

22-
Install Lua: (Will typically default to the latest release, 5.4.4 as of this readme)
22+
Install Lua: (Will typically default to the latest release, 5.4.8 as of this readme)
2323

2424
```yaml
25-
- uses: luarocks/gh-actions-lua@v10
25+
- uses: luarocks/gh-actions-lua@v11
2626
```
2727
2828
Install specific version of Lua:
2929
3030
```yaml
31-
- uses: luarocks/gh-actions-lua@v10
31+
- uses: luarocks/gh-actions-lua@v11
3232
with:
3333
luaVersion: "5.1.5"
3434
```
3535
3636
Install specific version of LuaJIT:
3737
3838
```yaml
39-
- uses: luarocks/gh-actions-lua@v10
39+
- uses: luarocks/gh-actions-lua@v11
4040
with:
4141
luaVersion: "luajit-2.1.0-beta3"
4242
```
@@ -47,7 +47,7 @@ include this line on non-Windows platforms, as the action will do nothing in tho
4747

4848
```yaml
4949
- uses: ilammy/msvc-dev-cmd@v1
50-
- uses: luarocks/gh-actions-lua@v10
50+
- uses: luarocks/gh-actions-lua@v11
5151
```
5252

5353
## Inputs
@@ -64,7 +64,7 @@ Examples of versions:
6464
* `"5.1.5"`
6565
* `"5.2.4"`
6666
* `"5.3.5"`
67-
* `"5.4.1"`
67+
* `"5.4.8"`
6868
* `"luajit-2.0"`
6969
* `"luajit-2.1"`
7070
* `"luajit-master"`
@@ -117,7 +117,7 @@ jobs:
117117
steps:
118118
- uses: actions/checkout@master
119119
120-
- uses: luarocks/gh-actions-lua@v10
120+
- uses: luarocks/gh-actions-lua@v11
121121
with:
122122
luaVersion: "5.1.5"
123123
@@ -154,7 +154,7 @@ jobs:
154154
155155
steps:
156156
- uses: actions/checkout@master
157-
- uses: luarocks/gh-actions-lua@v10
157+
- uses: luarocks/gh-actions-lua@v11
158158
with:
159159
luaVersion: ${{ matrix.luaVersion }}
160160

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const VERSION_ALIASES = {
1818
"5.1": "5.1.5",
1919
"5.2": "5.2.4",
2020
"5.3": "5.3.6",
21-
"5.4": "5.4.7",
21+
"5.4": "5.4.8",
2222
"luajit": "luajit-2.1",
2323
}
2424

0 commit comments

Comments
 (0)