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