Skip to content

Commit 7d365c0

Browse files
committed
ci: add optional args for goreleaser
1 parent 0455140 commit 7d365c0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release-server.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
tags:
55
- "v*.*.*"
66
workflow_dispatch:
7+
inputs:
8+
goreleaserArgs:
9+
required: false
10+
type: string
711

812
jobs:
913
publish-server:
@@ -28,6 +32,6 @@ jobs:
2832
with:
2933
distribution: goreleaser
3034
version: 1.9.2
31-
args: --rm-dist
35+
args: --rm-dist ${{ inputs.goreleaserArgs }}
3236
env:
3337
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}

0 commit comments

Comments
 (0)