File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : forgetool-go-release
2+ concurrency :
3+ group : ${{ github.workflow }}-${{ github.ref }}
4+ on :
5+ push :
6+ tags :
7+ - " v*"
8+ jobs :
9+ goreleaser :
10+ runs-on :
11+ group : default
12+ steps :
13+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
14+ with :
15+ fetch-depth : 0
16+ - uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
17+ with :
18+ go-version : stable
19+ cache : true
20+ cache-dependency-path : |
21+ **/go.mod
22+ **/go.sum
23+ - uses : goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6
24+ with :
25+ args : release --clean
26+ distribution : goreleaser # or 'goreleaser-pro'
27+ version : " ~> v2" # or 'latest', 'nightly', semver
28+ env :
29+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments