We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 784f855 commit ccaa281Copy full SHA for ccaa281
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,29 @@
1
+name: Release Go project
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "*"
7
8
+jobs:
9
+ build:
10
+ name: GoReleaser build
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Check out code into the Go module directory
15
+ uses: actions/checkout@v2
16
+ with:
17
+ fetch-depth: 0
18
19
+ - name: Set up Go 1.14
20
+ uses: actions/setup-go@v2
21
+ id: go
22
23
+ - name: Run GoReleaser
24
+ uses: goreleaser/goreleaser-action@master
25
26
+ version: latest
27
+ args: release --rm-dist
28
+ env:
29
+ GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
0 commit comments