From f75592864555ea9a743c2d63cec328d8277227d7 Mon Sep 17 00:00:00 2001 From: _AMD_ Date: Sun, 8 Sep 2024 23:39:40 +0300 Subject: [PATCH] ci(luarocks): release on commit --- .github/workflows/release.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cbb202..dc6d7f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,19 +1,21 @@ # source: https://github.com/nvim-telescope/telescope.nvim/blob/master/.github/workflows/release.yml -name: "release" +name: "Luarocks Release" + on: push: - tags: - - 'v*' + branches: [ "main" ] + tags: [ "v*.*.*" ] + jobs: - luarocks-upload: - runs-on: ubuntu-22.04 + luarocks-release: + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 - - name: LuaRocks Upload - uses: nvim-neorocks/luarocks-tag-release@v4 + - uses: actions/checkout@v4 + - uses: nvim-neorocks/luarocks-tag-release@v7 env: LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} with: + extra_luarocks_args: --force # update lr version on commit summary: "Lua async requests lib, based on Copas" detailed_description: | Adds basic functionality for creating simple HTTP clients,