From 35caa2562d4ca894a78accbb29876555e70b4aa1 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Thu, 1 Aug 2024 22:16:30 +0200 Subject: [PATCH 1/2] chore: rename workflow and job --- .github/workflows/luarocks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index d5746047..8abe5af9 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -1,4 +1,4 @@ -name: Luarocks +name: luarocks on: push: @@ -11,7 +11,7 @@ on: workflow_dispatch: jobs: - luarocks-upload: + upload: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 From 9a25190cdc8b3f44a3e3db429f45d5465ec72056 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Thu, 1 Aug 2024 22:16:38 +0200 Subject: [PATCH 2/2] chore: apply formatting --- .github/workflows/luarocks.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index 8abe5af9..2ba712e9 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -1,5 +1,4 @@ name: luarocks - on: push: tags: @@ -9,7 +8,6 @@ on: - created pull_request: # Tests luarocks install from generated rockspec on PR without uploading workflow_dispatch: - jobs: upload: runs-on: ubuntu-22.04 @@ -19,7 +17,6 @@ jobs: fetch-depth: 0 # Required to get the tags - name: Get Version run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV - # Needed to build the tree-sitter-go dependency - name: Install C/C++ Compiler uses: rlalik/setup-cpp-compiler@master @@ -29,7 +26,6 @@ jobs: uses: baptiste0928/cargo-install@v3 with: crate: tree-sitter-cli - - name: LuaRocks Upload uses: nvim-neorocks/luarocks-tag-release@v7 env: