Skip to content

Commit

Permalink
update default to 5.4 for v6
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Jul 1, 2020
1 parent f67b691 commit 8a39150
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Actions Status](https://github.com/leafo/gh-actions-lua/workflows/test/badge.svg)](https://github.com/leafo/gh-actions-lua/actions)


**Update July 1 2020** Lua 5.4 works with no chagnes, specify Lua 5.4.0 as the version. A 5.4 alias has been added in the most recent tagged version
**Update July 1 2020** Lua 5.4 works with no chagnes, specify Lua 5.4.0 as the version. A 5.4 alias has been added in the most recent tagged version. The default version has been updated to 5.4 in v6

Builds and installs Lua into the `.lua/` directory in the working directory.
Adds the `.lua/bin` to the `PATH` environment variable so `lua` can be called
Expand All @@ -21,24 +21,24 @@ Other Lua GitHub actions:

## Usage

Install Lua: (Will typically default to the latest release, 5.3.5 as of this readme)
Install Lua: (Will typically default to the latest release, 5.4.0 as of this readme)

```yaml
- uses: leafo/gh-actions-lua@v5
- uses: leafo/gh-actions-lua@v6
```
Install specific version of Lua:
```yaml
- uses: leafo/gh-actions-lua@v5
- uses: leafo/gh-actions-lua@v6
with:
luaVersion: "5.1.5"
```
Install specific version of LuaJIT:
```yaml
- uses: leafo/gh-actions-lua@v5
- uses: leafo/gh-actions-lua@v6
with:
luaVersion: "luajit-2.1.0-beta3"
```
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v5
- uses: leafo/gh-actions-lua@v6
with:
luaVersion: "5.1.5"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
luaVersion:
description: "The version of Lua to install, must be available on https://www.lua.org/ftp/ or http://luajit.org/download.html"
required: false
default: "5.3"
default: "5.4"
luaCompileFlags:
description: "Command line flags passed to make when building Lua"
required: false
Expand Down

0 comments on commit 8a39150

Please sign in to comment.