Skip to content

Commit 3f2ae3c

Browse files
committed
Try enable lua 5.4.
1 parent 84f642e commit 3f2ae3c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
test:
77
strategy:
88
matrix:
9-
luaVersion: ["5.1.5", "5.2.4", "5.3.5"]
9+
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.2"]
1010
os: [macOs-latest, ubuntu-latest]
1111

1212
runs-on: ${{ matrix.os }}
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: windows-latest
2626
strategy:
2727
matrix:
28-
luaVersion: ["5.1.5", "5.2.4", "5.3.5"]
28+
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.2"]
2929
platform: [Win32, x64]
3030
steps:
3131
- uses: actions/checkout@master
@@ -36,4 +36,4 @@ jobs:
3636
- name: test lua
3737
run: |
3838
which lua
39-
lua -e "print(_VERSION)"
39+
lua -e "print(_VERSION)"

main.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ const VERSION_ALIASES = {
1414
"5.1": "5.1.5",
1515
"5.2": "5.2.4",
1616
"5.3": "5.3.5",
17-
"5.4": "5.3.5",
17+
"5.4": "5.4.2",
1818
"luajit": "luajit-2.0.5",
1919
"luajit-2.0": "luajit-2.0.5",
2020
"luajit-2.1": "luajit-2.1.0-beta3",
2121
}
2222

2323
const TARBALLS = {
24-
// need patch for 5.4
25-
// "5.4.1": ["1d575faef1c907292edd79e7a2784d30", "https://www.lua.org/ftp/lua-5.4.1.tar.gz"],
26-
// "5.4.0": ["dbf155764e5d433fc55ae80ea7060b60", "https://www.lua.org/ftp/lua-5.4.0.tar.gz"],
24+
"5.4.2": ["49c92d6a49faba342c35c52e1ac3f81e", "https://www.lua.org/ftp/lua-5.4.2.tar.gz"],
25+
"5.4.1": ["1d575faef1c907292edd79e7a2784d30", "https://www.lua.org/ftp/lua-5.4.1.tar.gz"],
26+
"5.4.0": ["dbf155764e5d433fc55ae80ea7060b60", "https://www.lua.org/ftp/lua-5.4.0.tar.gz"],
2727
"5.3.5": ["4f4b4f323fd3514a68e0ab3da8ce3455", "https://www.lua.org/ftp/lua-5.3.5.tar.gz"],
2828
"5.3.4": ["53a9c68bcc0eda58bdc2095ad5cdfc63", "https://www.lua.org/ftp/lua-5.3.4.tar.gz"],
2929
"5.3.3": ["703f75caa4fdf4a911c1a72e67a27498", "https://www.lua.org/ftp/lua-5.3.3.tar.gz"],

0 commit comments

Comments
 (0)