File tree Expand file tree Collapse file tree 3 files changed +45
-8
lines changed
Expand file tree Collapse file tree 3 files changed +45
-8
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout
12- uses : actions/checkout@v3
12+ uses : actions/checkout@v4
1313 with :
1414 fetch-depth : 0
1515 - name : Set up Go
16- uses : actions/setup-go@v3
16+ uses : actions/setup-go@v5
17+ with :
18+ go-version : stable
1719 - name : Run GoReleaser
18- uses : goreleaser/goreleaser-action@v4
20+ uses : goreleaser/goreleaser-action@v6
1921 with :
2022 distribution : goreleaser
2123 version : latest
Original file line number Diff line number Diff line change 11/gh-s
22/gh-s.exe
3+ /dist
Original file line number Diff line number Diff line change 1+ version : 2
2+
13before :
24 hooks :
35 - go mod tidy
6+
47builds :
5- - env :
8+ - id : default
9+ env :
610 - CGO_ENABLED=0
11+ flags :
12+ - -trimpath
13+ ldflags :
14+ - -s -w
715 goos :
8- - darwin
916 - linux
17+ - darwin
1018 - windows
19+ - android
1120 - netbsd
21+ goarch :
22+ - amd64
23+ - arm64
24+ ignore :
25+ - goos : android
26+ goarch : amd64
27+
1228archives :
13- - name_template : " {{ .Os }}-{{ .Arch }}"
14- format : binary
29+ - id : default
30+ ids :
31+ - default
32+ formats :
33+ - tar.gz
34+ format_overrides :
35+ - goos : windows
36+ formats :
37+ - zip
38+ name_template : >-
39+ {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_
40+ {{- if eq .Arch "amd64" }}x86_64
41+ {{- else if eq .Arch "arm64" }}aarch64
42+ {{- else }}{{ .Arch }}{{ end }}
43+
44+ checksum :
45+ name_template : " checksums.txt"
46+
1547snapshot :
16- name_template : " {{ .Tag }}-next"
48+ version_template : " {{ .Tag }}-next"
49+
1750changelog :
1851 use : github-native
52+
You can’t perform that action at this time.
0 commit comments