We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2732273 commit dc455eaCopy full SHA for dc455ea
.github/workflows/goreleaser.yml
@@ -0,0 +1,35 @@
1
+name: goreleaser
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ goreleaser:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ -
16
+ name: Checkout
17
+ uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
21
+ name: Set up Go
22
+ uses: actions/setup-go@v5
23
24
+ name: Run GoReleaser
25
+ uses: goreleaser/goreleaser-action@v6
26
27
+ # either 'goreleaser' (default) or 'goreleaser-pro'
28
+ distribution: goreleaser
29
+ # 'latest', 'nightly', or a semver
30
+ version: '~> v2'
31
+ args: release --clean
32
+ env:
33
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34
+ # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
35
+ # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
0 commit comments