We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 91a2b9b + 97e258d commit e200ff6Copy full SHA for e200ff6
.github/workflows/release.yml
@@ -0,0 +1,34 @@
1
+name: goreleaser
2
+
3
+on:
4
+ push:
5
+ # run only against tags
6
+ tags:
7
+ - "*"
8
9
+permissions:
10
+ contents: write
11
+ # packages: write
12
+ # issues: write
13
+ # id-token: write
14
15
+jobs:
16
+ goreleaser:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
21
+ with:
22
+ fetch-depth: 0
23
+ - name: Set up Go
24
+ uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b
25
26
+ go-version: stable
27
+ - name: Run GoReleaser
28
+ uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552
29
30
+ distribution: goreleaser
31
+ version: "~> v2"
32
+ args: release --clean
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments