File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : goreleaser
2+
3+ on :
4+ # pull_request:
5+ push :
6+ tags :
7+ - ' *'
8+
9+ permissions :
10+ contents : write
11+
12+ jobs :
13+ goreleaser :
14+ runs-on : ubuntu-latest
15+ steps :
16+ -
17+ name : Checkout
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ -
22+ name : Set up Go
23+ uses : actions/setup-go@v5
24+ -
25+ name : Run GoReleaser
26+ uses : goreleaser/goreleaser-action@v6
27+ with :
28+ # either 'goreleaser' (default) or 'goreleaser-pro'
29+ distribution : goreleaser
30+ # 'latest', 'nightly', or a semver
31+ version : ' ~> v2'
32+ args : release --clean
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
36+ # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
You can’t perform that action at this time.
0 commit comments