From 99381934e81133d8f81de32c6d9eb154a7770b38 Mon Sep 17 00:00:00 2001 From: Esteban Beltran Date: Tue, 13 Jul 2021 15:31:44 +0200 Subject: [PATCH] Only release on new tag --- .github/workflows/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fcd5669..1777b27 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,8 @@ name: Kibbe build release on: push: - branches: - - master + tags: + - '*' jobs: build-binary: runs-on: ubuntu-latest @@ -16,6 +16,4 @@ jobs: - uses: ncipollo/release-action@v1 with: artifacts: "./dist/linux/*" - token: ${{ secrets.GITHUB_TOKEN }} - name: ${{ github.sha }} - tag: ${{ github.run_number }} \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file