File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed
Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 77 - v*
88
99jobs :
10- main :
10+ docker :
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Set up QEMU
2828 with :
2929 push : true
3030 tags : " ghcr.io/${{ github.repository }}:${{ env.RELEASE_VERSION }}"
31+ goreleaser :
32+ runs-on : ubuntu-latest
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v2
36+ with :
37+ fetch-depth : 0
38+ - name : Set up Go
39+ uses : actions/setup-go@v2
40+ with :
41+ go-version : 1.17
42+ - name : Run GoReleaser
43+ uses : goreleaser/goreleaser-action@v2
44+ with :
45+ distribution : goreleaser
46+ version : latest
47+ args : release --rm-dist
48+ env :
49+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11test *
22main
3+
4+ dist /
Original file line number Diff line number Diff line change 1+ before :
2+ hooks :
3+ - go mod tidy
4+ builds :
5+ - env :
6+ - CGO_ENABLED=0
7+ goos :
8+ - linux
9+ - windows
10+ - darwin
11+ archives :
12+ - replacements :
13+ darwin : Darwin
14+ linux : Linux
15+ windows : Windows
16+ 386 : i386
17+ amd64 : x86_64
18+ checksum :
19+ name_template : ' checksums.txt'
20+ snapshot :
21+ name_template : " {{ incpatch .Version }}-next"
You can’t perform that action at this time.
0 commit comments