Skip to content

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
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages