From e4026ae4219f60ff86897e00f2e25483014a9937 Mon Sep 17 00:00:00 2001 From: Daniel Stinson-Diess Date: Thu, 19 Dec 2024 16:58:09 -0600 Subject: [PATCH] fix: only build release artifacts on releases (#286) --- .github/workflows/release_please.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_please.yml b/.github/workflows/release_please.yml index 123c1236..958a849d 100644 --- a/.github/workflows/release_please.yml +++ b/.github/workflows/release_please.yml @@ -34,7 +34,7 @@ jobs: go-version: 1.22 - name: Upload Release Artifact - if: ${{ steps.release.outputs.releases_created }} + if: github.event_name == 'release' && github.event.prerelease == false uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0 with: version: latest