Skip to content

πŸŒ› Set up your GitHub Actions workflow with specific versions of Lua, LuaJIT, LuaRocks using Luver ❀️

License

Notifications You must be signed in to change notification settings

MunifTanjim/luver-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Luver GitHub Action

πŸŒ› Set up your GitHub Actions workflow with specific versions of Lua, LuaJIT, LuaRocks using Luver ❀️

Usage

See action.yml

Basic:

steps:
  - uses: actions/checkout@v2
  - uses: MunifTanjim/luver-action@v1
  - run: |
      luver install lua 5.4.3
      luver use 5.4.3
      luver install luarocks 3.8.0
  - run: |
      luarocks install luacheck

Pre-install versions:

steps:
  - uses: actions/checkout@v2
  - uses: MunifTanjim/luver-action@v1
    with:
      lua_versions: 5.1.5 5.4.3
      luajit_versions: 5.1.5:2.1.0-beta3
      luarocks_versions: 5.1.5:3.7.0 5.4.3:3.8.0
  - run: |
      luver use 5.1.5
      lua -v
      luajit -v
      luarocks --version

Set default lua version:

steps:
  - uses: actions/checkout@v2
  - uses: MunifTanjim/luver-action@v1
    with:
      default: 5.1.5
      lua_versions: 5.1.5 5.4.3
  - run: |
      lua -v

License

Licensed under the MIT License. Check the LICENSE file for details.