{"id":13895242,"url":"https://github.com/leafo/gh-actions-luarocks","last_synced_at":"2025-04-05T21:06:16.517Z","repository":{"id":41090083,"uuid":"206988434","full_name":"leafo/gh-actions-luarocks","owner":"leafo","description":"GitHub action for installing LuaRocks","archived":false,"fork":false,"pushed_at":"2025-02-27T21:22:59.000Z","size":525,"stargazers_count":46,"open_issues_count":5,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T20:03:02.885Z","etag":null,"topics":["github-actions","lua"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leafo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-09-07T15:34:31.000Z","updated_at":"2025-02-27T21:21:26.000Z","dependencies_parsed_at":"2024-04-16T00:39:59.981Z","dependency_job_id":"df50b8e0-a6b6-4a8c-9516-708a1c725a46","html_url":"https://github.com/leafo/gh-actions-luarocks","commit_stats":{"total_commits":86,"total_committers":4,"mean_commits":21.5,"dds":"0.046511627906976716","last_synced_commit":"e65774a6386cb4f24e293dca7fc4ff89165b64c5"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fgh-actions-luarocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fgh-actions-luarocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fgh-actions-luarocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fgh-actions-luarocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafo","download_url":"https://codeload.github.com/leafo/gh-actions-luarocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399871,"owners_count":20932876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","lua"],"created_at":"2024-08-06T18:02:05.334Z","updated_at":"2025-04-05T21:06:16.488Z","avatar_url":"https://github.com/leafo.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Github Action for LuaRocks\n\n### `leafo/gh-actions-luarocks`\n\n[![Actions Status](https://github.com/leafo/gh-actions-luarocks/workflows/test/badge.svg)](https://github.com/leafo/gh-actions-luarocks/actions)\n\nBuilds 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.\n\n[`leafo/gh-actions-lua`](https://github.com/marketplace/actions/install-lua-luajit) can be used to install Lua, which is required for LuaRocks to build and run. (This action will use any Lua installed in `.lua/`).\n\n## Usage\n\nInstalls Lua, LuaRocks, then install a module:\n\n```yaml\n- uses: leafo/gh-actions-lua@v11\n- uses: leafo/gh-actions-luarocks@v5\n\n# Install some package\n- name: install a module\n  run: luarocks install moonscript\n```\n\nFor a more complete example see: https://github.com/leafo/gh-actions-lua/blob/master/README.md#full-example\n\n## Inputs\n\n### `luarocksVersion`\n\n**Default**: `\"3.11.1\"`\n\nSpecifies which version of LuaRocks to install. Must be listed on https://luarocks.github.io/luarocks/releases/\n\nExample:\n\n```yaml\n- uses: leafo/gh-actions-luarocks@v4\n  with:\n    luarocksVersion: \"3.1.3\"\n```\n\n### `withLuaPath`\n\n**Default**: `null` (Optional)\n\nManually specify the path to an existing Lua installation to use. This is not\nnecessary if you are using `leafo/gh-actions-lua`. Will build LuaRocks with\n`./configure --with-lua=$withLuaPath`\n\nExample:\n\n```yaml\n- uses: leafo/gh-actions-luarocks@v4\n  with:\n    withLuaPath: \"/usr/local/openresty/luajit/\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Fgh-actions-luarocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafo%2Fgh-actions-luarocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Fgh-actions-luarocks/lists"}