From 47d7101d55834174b605d9f8ad786e4b89734812 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sun, 14 Dec 2025 20:09:46 +0000 Subject: [PATCH] fix: use goreleaser build for CGO split mode instead of Pro feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --split flag is GoReleaser Pro only. Use 'build --single-target' for matrix builds and 'release --clean' for the merge step. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/actions/goreleaser/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/goreleaser/action.yml b/.github/actions/goreleaser/action.yml index 93181af..7e35c09 100644 --- a/.github/actions/goreleaser/action.yml +++ b/.github/actions/goreleaser/action.yml @@ -46,23 +46,23 @@ runs: HOMEBREW_TAP_TOKEN: ${{ inputs.homebrew-tap-token }} CGO_ENABLED: ${{ inputs.cgo-enabled }} - - name: Run GoReleaser (split) + - name: Run GoReleaser (build only for CGO matrix) if: inputs.mode == 'split' uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: "~> v2" - args: release --clean --split + args: build --clean --single-target env: GITHUB_TOKEN: ${{ inputs.github-token }} CGO_ENABLED: ${{ inputs.cgo-enabled }} - - name: Run GoReleaser (merge) + - name: Run GoReleaser (release with pre-built artifacts) if: inputs.mode == 'merge' uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: "~> v2" - args: continue --merge + args: release --clean env: GITHUB_TOKEN: ${{ inputs.github-token }}