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 053b9f5 commit 2bca3b0Copy full SHA for 2bca3b0
.github/workflows/release.yml
@@ -0,0 +1,31 @@
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
+ - name: Checkout
16
+ uses: actions/checkout@v2
17
+ with:
18
+ fetch-depth: 0
19
+ - name: Set up Go
20
+ uses: actions/setup-go@v2
21
22
+ go-version: 1.17
23
+ - name: Run GoReleaser
24
+ uses: goreleaser/goreleaser-action@v2
25
26
+ distribution: goreleaser
27
+ version: latest
28
+ args: release --rm-dist
29
+ env:
30
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
+ HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
0 commit comments