File tree Expand file tree Collapse file tree 3 files changed +60
-2
lines changed Expand file tree Collapse file tree 3 files changed +60
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ goreleaser :
10+ runs-on : ubuntu-20.04
11+ steps :
12+ - name : Checkout
13+ 14+ - name : Unshallow
15+ run : git fetch --prune --unshallow
16+ - name : Set up Go
17+ uses : actions/setup-go@v3
18+ with :
19+ go-version : 1.18
20+ - name : Run GoReleaser
21+ uses :
goreleaser/[email protected] 22+ with :
23+ version : latest
24+ args : release --rm-dist
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GH_PUBLISH_SECRETS }}
Original file line number Diff line number Diff line change 1+ # This is an example .goreleaser.yml file with some sensible defaults.
2+ # Make sure to check the documentation at https://goreleaser.com
3+ before :
4+ hooks :
5+ # You may remove this if you don't use go modules.
6+ - go mod tidy
7+ builds :
8+ - env :
9+ - CGO_ENABLED=0
10+ binary : atest
11+ dir : cmd
12+ goos :
13+ - linux
14+ - windows
15+ - darwin
16+ archives :
17+ - name_template : " {{ .Binary }}-{{ .Os }}-{{ .Arch }}"
18+ format_overrides :
19+ - goos : windows
20+ format : zip
21+ files :
22+ - README.md
23+ checksum :
24+ name_template : ' checksums.txt'
25+ snapshot :
26+ name_template : " {{ incpatch .Version }}-next"
27+ changelog :
28+ sort : asc
29+ filters :
30+ exclude :
31+ - ' ^docs:'
32+ - ' ^test:'
Original file line number Diff line number Diff line change 1- name : ' API testing'
2- description : ' API testing'
1+ name : ' API testing with Kubernetes '
2+ description : ' API testing with Kubernetes '
33inputs :
44 pattern :
55 description : ' The pattern of the items'
You can’t perform that action at this time.
0 commit comments