From 73aebb9b08abf348f97d405a474084718ef52f02 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 30 May 2024 21:36:36 +0200 Subject: [PATCH] feat(workflows): add 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 0000000..8cf6050 --- /dev/null +++ b/.github/workflows/luarocks.yml @@ -0,0 +1,18 @@ +name: Push to Luarocks + +on: + push: + tags: # Will upload to luarocks.org when a tag is pushed + - "*" + pull_request: # Will test a local install without uploading to luarocks.org + workflow_dispatch: + +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 }}