Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: test

on: [push, pull_request]
on:
push:
paths-ignore:
- '*.md'
pull_request:
paths-ignore:
- '*.md'

jobs:
test:
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ Other Lua GitHub actions:

## Usage

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

```yaml
- uses: luarocks/gh-actions-lua@v10
- uses: luarocks/gh-actions-lua@v11
```

Install specific version of Lua:

```yaml
- uses: luarocks/gh-actions-lua@v10
- uses: luarocks/gh-actions-lua@v11
with:
luaVersion: "5.1.5"
```

Install specific version of LuaJIT:

```yaml
- uses: luarocks/gh-actions-lua@v10
- uses: luarocks/gh-actions-lua@v11
with:
luaVersion: "luajit-2.1.0-beta3"
```
Expand All @@ -47,7 +47,7 @@ include this line on non-Windows platforms, as the action will do nothing in tho

```yaml
- uses: ilammy/msvc-dev-cmd@v1
- uses: luarocks/gh-actions-lua@v10
- uses: luarocks/gh-actions-lua@v11
```

## Inputs
Expand Down Expand Up @@ -90,7 +90,7 @@ Additional flags to pass to `make` when building Lua.
Example value:

```yaml
- uses: luarocks/gh-actions-lua@master
- uses: luarocks/gh-actions-lua@v11
with:
luaVersion: 5.3
luaCompileFlags: LUA_CFLAGS="-DLUA_INT_TYPE=LUA_INT_INT"
Expand All @@ -115,13 +115,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4

- uses: luarocks/gh-actions-lua@v10
- uses: luarocks/gh-actions-lua@v11
with:
luaVersion: "5.1.5"

- uses: luarocks/gh-actions-luarocks@v4
- uses: luarocks/gh-actions-luarocks@v6

- name: build
run: |
Expand Down Expand Up @@ -153,8 +153,8 @@ jobs:
luaVersion: ["5.1.5", "5.2.4", "luajit-2.1.0-beta3"]

steps:
- uses: actions/checkout@master
- uses: luarocks/gh-actions-lua@v10
- uses: actions/checkout@v4
- uses: luarocks/gh-actions-lua@v11
with:
luaVersion: ${{ matrix.luaVersion }}

Expand Down
Loading