From d713b68d340b3d89bb4e3e0e00981b06356ce24c Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 5 Nov 2023 21:33:12 +0100 Subject: [PATCH] feat: publich to luarocks --- .github/workflows/luarocks.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 000000000..6ac0894c3 --- /dev/null +++ b/.github/workflows/luarocks.yml @@ -0,0 +1,18 @@ +name: "luarocks" +on: + push: + tags: + - 'v*' + pull_request: # To make sure the package can build - does not publish +jobs: + luarocks-upload: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: LuaRocks Upload + uses: nvim-neorocks/luarocks-tag-release@v5 + env: + LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} + with: + dependencies: | + jsregexp == 0.0.5