Forgejo-compatible LuaRocks tag release action https://forge.barrettruth.com/barrettruth/luarocks-tag-release-forgejo
  • Lua 88.4%
  • Nix 9.8%
  • Just 1.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Barrett Ruth 1f0408d5df
All checks were successful
quality / Format (push) Successful in 4s
quality / Lint (push) Successful in 2s
quality / Test (push) Successful in 3s
quality / Build aarch64 (push) Successful in 37s
ci: build the aarch64 package under emulation
2026-09-26 16:04:32 -05:00
.forgejo ci: build the aarch64 package under emulation 2026-09-26 16:04:32 -05:00
bin ci: use Forgejo-native action context (#7) 2026-05-05 18:15:17 +00:00
lua ci: use Forgejo-native action context (#7) 2026-05-05 18:15:17 +00:00
nix chore: make Forgejo canonical [skip ci] 2026-09-21 20:34:36 -05:00
resources fix: keep scm rocks on archive URLs 2026-05-03 14:29:46 -04:00
spec refactor: use canonical Forgejo domain 2026-09-21 06:56:34 -05:00
.busted chore: polish Forgejo action repo (#1) 2026-05-03 23:05:39 +00:00
.editorconfig feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
.gitignore chore: polish Forgejo action repo (#1) 2026-05-03 23:05:39 +00:00
.luacheckrc feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
.luarc.json chore: polish Forgejo action repo (#1) 2026-05-03 23:05:39 +00:00
.stylua.toml feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
action.yml ci: use Forgejo-native action context (#7) 2026-05-05 18:15:17 +00:00
biome.json docs: add contributing guide (#6) 2026-05-05 17:52:41 +00:00
CONTRIBUTING.md refactor: use canonical Forgejo domain 2026-09-21 06:56:34 -05:00
flake.lock chore: polish Forgejo action repo (#1) 2026-05-03 23:05:39 +00:00
flake.nix chore: polish Forgejo action repo (#1) 2026-05-03 23:05:39 +00:00
justfile ci: add explicit aarch64 build check (#2) 2026-05-04 02:13:09 +00:00
LICENSE chore: license under GPL-3.0 [skip ci] 2026-09-21 21:41:26 -05:00
luarocks-tag-release-scm-1.rockspec chore: make Forgejo canonical [skip ci] 2026-09-21 20:34:36 -05:00
README.md docs: remove development-host banner [skip ci] 2026-09-21 21:57:18 -05:00
selene.toml chore: polish Forgejo action repo (#1) 2026-05-03 23:05:39 +00:00
vim.toml chore: polish Forgejo action repo (#1) 2026-05-03 23:05:39 +00:00

luarocks-tag-release-forgejo

Forgejo-compatible wrapper around nvim-neorocks/luarocks-tag-release.

This action keeps the upstream Lua publisher implementation, but changes the parts that are specific to Barrett's Forgejo runners and Forgejo archive layout:

  • exposes the Nix package on aarch64-linux as well as x86_64-linux;
  • assumes Forgejo source archives unpack to <repo>/;
  • runs through the Nix action runtime;
  • supports explicit LuaRocks verification servers after upload.

Stable Releases

- uses: https://forge.barrettruth.com/barrettruth/luarocks-tag-release-forgejo@v0.3.0
  with:
    license: GPL-3.0
    verification_servers: |
      https://luarocks.org
      https://luarocks.org/manifests/barrettruth

Nightly Releases

- name: Compute LuaRocks specrev
  run: echo "LUAROCKS_SPECREV=$(git rev-list --count "$FORGEJO_SHA")" >> "$FORGEJO_ENV"

- uses: https://forge.barrettruth.com/barrettruth/luarocks-tag-release-forgejo@v0.3.0
  with:
    version: scm
    specrev: ${{ env.LUAROCKS_SPECREV }}
    license: GPL-3.0
    verification_servers: |
      https://luarocks.org/manifests/barrettruth
      https://luarocks.org/dev

Notes

Development rocks uploaded to LuaRocks are visible immediately in the uploader manifest. The global /dev manifest can lag or omit freshly uploaded versions, so workflows should verify against the uploader manifest first.

extra_luarocks_args is parsed as newline-separated argv entries and shell quoted before execution. For LuaRocks flags that take a separate value, put the flag and value on separate lines or use --flag=value.

Acknowledgements