Forgejo-compatible LuaRocks tag release action
  • Lua 84.6%
  • Nix 15.4%
Find a file
Barrett Ruth 466319aeca
All checks were successful
quality / Build (push) Successful in 5s
quality / Test (push) Successful in 9s
fix: keep scm rocks on archive URLs
2026-05-03 14:29:46 -04:00
.forgejo feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
bin feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
lua fix: tolerate duplicate LuaRocks uploads 2026-05-03 14:14:16 -04:00
nix feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
resources fix: keep scm rocks on archive URLs 2026-05-03 14:29:46 -04:00
spec fix: keep scm rocks on archive URLs 2026-05-03 14:29:46 -04:00
.busted feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
.editorconfig feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
.gitignore feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
.luacheckrc feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
.stylua.toml feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
action.yml fix: run publisher directly in composite action 2026-05-03 14:16:38 -04:00
CHANGELOG.md feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
CONTRIBUTING.md feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
flake.lock feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
flake.nix feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
LICENSE feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
luarocks-tag-release-scm-1.rockspec feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
README.md feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04:00
release-please-config.json feat: add Forgejo LuaRocks release action 2026-05-03 14:12:16 -04: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>/;
  • removes the GitHub-only Nix installer step;
  • supports explicit LuaRocks verification servers after upload.

Stable Releases

- uses: https://git.barrettruth.com/barrettruth/luarocks-tag-release-forgejo@v0.1.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 "$GITHUB_SHA")" >> "$GITHUB_ENV"

- uses: https://git.barrettruth.com/barrettruth/luarocks-tag-release-forgejo@v0.1.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.