Skip to content

Commit bdcb585

Browse files
chore(ci): add goreleaser args
1 parent a5a78d1 commit bdcb585

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Goreleaser
33
on:
44
workflow_dispatch:
55
inputs:
6-
goReleaserConfig:
7-
description: 'Configuration ENV for goreleaser'
6+
goReleaserArgs:
7+
description: 'Args goreleaser'
88
required: false
9-
default: 'CGO_ENABLED=1'
9+
default: '--clean'
1010
push:
1111
tags:
1212
- "*"
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
distribution: goreleaser
4040
version: latest
41-
args: release --clean
41+
args: release ${{ github.event.inputs.goReleaserArgs }}"
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

0 commit comments

Comments
 (0)