From 6dbf03a44f60e4120fdaa6fc26928940c8540872 Mon Sep 17 00:00:00 2001 From: Kacper Malachowski Date: Sun, 18 Feb 2024 10:18:57 +0100 Subject: [PATCH] Release only on push --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d3df80d..102b1d6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,7 +33,9 @@ jobs: build-name: ${{ matrix.build.name }} build-platform: ${{ matrix.build.platform }} go-version: '1.21' + create_release: + if: github.event_name == 'push' name: Create release runs-on: ubuntu-latest needs: build