From bdcb58503b0a1becb4fa0285b7cb870542ca3831 Mon Sep 17 00:00:00 2001 From: wrench Date: Wed, 29 Nov 2023 14:21:21 +0530 Subject: [PATCH] chore(ci): add goreleaser args --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09237e60..1e243d21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,10 +3,10 @@ name: Goreleaser on: workflow_dispatch: inputs: - goReleaserConfig: - description: 'Configuration ENV for goreleaser' + goReleaserArgs: + description: 'Args goreleaser' required: false - default: 'CGO_ENABLED=1' + default: '--clean' push: tags: - "*" @@ -38,7 +38,7 @@ jobs: with: distribution: goreleaser version: latest - args: release --clean + args: release ${{ github.event.inputs.goReleaserArgs }}" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} \ No newline at end of file