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