We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6679dc7 commit 6295f48Copy full SHA for 6295f48
.github/workflows/release.yml
@@ -0,0 +1,37 @@
1
+name: release
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
+ -
16
+ name: Checkout
17
+ uses: actions/checkout@v3
18
+ with:
19
+ fetch-depth: 0
20
21
+ name: Fetch all tags
22
+ run: git fetch --force --tags
23
24
+ name: Set up Go
25
+ uses: actions/setup-go@v3
26
27
+ go-version: 1.18
28
29
+ name: Run GoReleaser
30
+ uses: goreleaser/goreleaser-action@v3
31
32
+ distribution: goreleaser
33
+ version: latest
34
+ args: release --rm-dist
35
+ env:
36
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
.goreleaser.yaml
@@ -0,0 +1,6 @@
+builds:
+ id: "release"
+ command: test
+ skip: true
0 commit comments