All Projects → leafo → gh-actions-luarocks

leafo / gh-actions-luarocks

Licence: other
GitHub action for installing LuaRocks

Programming Languages

javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

Github Action for LuaRocks

leafo/gh-actions-luarocks

Actions Status

Builds and installs LuaRocks from source into the .luarocks/ directory in the working directory. Configures PATH, LUA_PATH, and LUA_CPATH environment variables to be able to use the luarocks command directly in workflows, and require installed modules in Lua.

leafo/gh-actions-lua can be used to install Lua, which is required for LuaRocks to build and run. (This action will use any Lua installed in .lua/).

Usage

Installs Lua, LuaRocks, then install a module:

- uses: leafo/gh-actions-lua@v8
- uses: leafo/gh-actions-luarocks@v4

# Install some package
- name: install a module
  run: luarocks install moonscript

For a more complete example see: https://github.com/leafo/gh-actions-lua/blob/master/README.md#full-example

Inputs

luarocksVersion

Default: "3.8.0"

Specifies which version of LuaRocks to install. Must be listed on https://luarocks.github.io/luarocks/releases/

Example:

- uses: leafo/gh-actions-luarocks@v3
  with:
    luarocksVersion: "3.1.3"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].