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 9547bc9 commit a455c1bCopy full SHA for a455c1b
.github/workflows/release.yaml
@@ -1,6 +1,6 @@
1
name: release
2
on:
3
- create:
+ push:
4
tags:
5
- 'v*'
6
@@ -17,11 +17,14 @@ jobs:
17
fetch-depth: 0
18
- name: Set up Go
19
uses: actions/setup-go@v3
20
+ with:
21
+ go-version: '1.19'
22
+ - run: echo "GOVERSION=$(go version)" >> $GITHUB_ENV
23
- name: Run GoReleaser
24
uses: goreleaser/goreleaser-action@v4
25
with:
26
distribution: goreleaser
27
version: latest
28
args: release --clean
29
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30
+ GITHUB_TOKEN: ${{ secrets.G_TOKEN }}
0 commit comments