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 1e97078 commit c629675Copy full SHA for c629675
.github/workflows/release.yml
@@ -0,0 +1,35 @@
1
+name: goreleaser
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+jobs:
9
+ goreleaser:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/cache@v2
13
+ with:
14
+ path: ~/go/pkg/mod
15
+ key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
16
+ restore-keys: |
17
+ ${{ runner.os }}-go-
18
+ -
19
+ name: Checkout
20
+ uses: actions/checkout@v2
21
22
+ fetch-depth: 0
23
24
+ name: Set up Go
25
+ uses: actions/setup-go@v2
26
27
+ go-version: 1.14.4
28
29
+ name: Run GoReleaser
30
+ uses: goreleaser/goreleaser-action@v2
31
32
+ version: latest
33
+ args: release --rm-dist
34
+ env:
35
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments