File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed
Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 2424 - name : Test
2525 run : go test -v ./...
2626
27- - name : GoReleaser Action
28- uses : goreleaser/goreleaser-action@v2.7.0
27+ goreleaser :
28+ runs-on : ubuntu-latest
29+ steps :
30+ - name : Checkout
31+ uses : actions/checkout@v2
32+ with :
33+ fetch-depth : 0
34+ - name : Set up Go
35+ uses : actions/setup-go@v2
36+ with :
37+ go-version : 1.16
38+
39+ - name : Run GoReleaser
40+ uses : goreleaser/goreleaser-action@v2
41+ with :
42+ # either 'goreleaser' (default) or 'goreleaser-pro'
43+ distribution : goreleaser
44+ version : latest
45+ args : release --rm-dist
46+ env :
47+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48+ # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
49+ # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
You can’t perform that action at this time.
0 commit comments