Git Product home page Git Product logo

gh-actions-luarocks's Introduction

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@v9
- 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@v4
  with:
    luarocksVersion: "3.1.3"

withLuaPath

Default: null (Optional)

Manually specify the path to an existing Lua installation to use. This is not necessary if you are using leafo/gh-actions-lua. Will build LuaRocks with ./configure --with-lua=$withLuaPath

Example:

- uses: leafo/gh-actions-luarocks@v4
  with:
    withLuaPath: "/usr/local/openresty/luajit/"

gh-actions-luarocks's People

Contributors

dependabot[bot] avatar leafo avatar spacewander avatar vadi2 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.