From 3a6620d769f95637141a94693db891c264e5d751 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Fri, 8 Mar 2024 16:55:09 +0100 Subject: [PATCH] ci: add luarocks-tag-release workflow (#12) --- .github/workflows/luarocks.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/luarocks.yml diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml new file mode 100644 index 0000000..b020ca9 --- /dev/null +++ b/.github/workflows/luarocks.yml @@ -0,0 +1,28 @@ +--- +name: luarocks upload +on: + push: + tags: + - 'v*' + pull_request: # Will test packaging without publishing on PR + workflow_dispatch: # Allow manual trigger + +jobs: + luarocks-release: + runs-on: ubuntu-latest + name: luarocks upload + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Luarocks Upload + uses: nvim-neorocks/luarocks-tag-release@v5 + env: + LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} + with: + summary: "A lua implementation of the fzy fuzzy matching algorithm" + detailed_description: | + A Lua port of fzy's fuzzy string matching algorithm. + This includes both a pure Lua implementation and a compiled C implementation with a Lua wrapper. + copy_directories: | + docs + test_interpreters: "lua"