File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11name : Goreleaser
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ goReleaserConfig :
7+ description : ' Configuration ENV for goreleaser'
8+ required : false
9+ default : ' CGO_ENABLED=1'
410 push :
511 tags :
612 - " *"
Original file line number Diff line number Diff line change 11version : 1
2-
32project_name : TG-FileStreamBot
4-
3+ env :
4+ - GO111MODULE=on
55before :
66 hooks :
77 - go mod tidy
88 - go generate ./...
99
1010builds :
11- - id : fsb-main
12- main : ./cmd/fsb
11+ - main : ./cmd/fsb
1312 env :
14- - CGO_ENABLED=0
13+ - CGO_ENABLED=1
14+ flags : -tags=musl
15+ ldflags : " -linkmode=external -extldflags -static -s -w"
1516 binary : fsb
1617 goos :
1718 - linux
@@ -20,10 +21,6 @@ builds:
2021 goarch :
2122 - amd64
2223 - arm64
23- ignore :
24- - goos : windows
25- goarch : 386
26- no_main_check : true
2724
2825archives :
2926 - format : tar.gz
You can’t perform that action at this time.
0 commit comments