We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e201684 commit 4573f54Copy full SHA for 4573f54
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,34 @@
1
+name: goreleaser
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ ref:
7
+ description: "Which git tag should be released?"
8
9
+permissions:
10
+ contents: write
11
12
+jobs:
13
+ goreleaser:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checking out repository...
17
+ uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
+ ref: ${{ inputs.ref }}
21
22
+ - name: Setting up Go
23
+ uses: actions/setup-go@v4
24
25
+ go-version: '^1.19.0'
26
27
+ - name: Run GoReleaser
28
+ uses: goreleaser/goreleaser-action@v5
29
30
+ distribution: goreleaser
31
+ version: latest
32
+ args: release --clean
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments