File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 go-version : ' 1.23'
2828 check-latest : true
29+
30+ - name : Fix dialog package dependency
31+ run : |
32+ # Just run go mod tidy here
33+ go mod tidy
2934
3035 - name : Run GoReleaser Snapshot
3136 uses : goreleaser/goreleaser-action@v5
3540 args : release --snapshot --clean
3641 env :
3742 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43+ CGO_ENABLED : 0 # Disable CGO for better cross-compilation compatibility
3844
3945 - name : Create/Update Development Release
4046 uses : softprops/action-gh-release@v1
Original file line number Diff line number Diff line change 66 - env :
77 - CGO_ENABLED=0
88 goos :
9- - linux
9+ # - linux # commented out to avoid the github.com/sqweek/dialog package issues
1010 - windows
11- - darwin
11+ # - Darwin # commented out to avoid the cocoa package issues
1212 goarch :
1313 - amd64
1414 - arm64
@@ -19,8 +19,10 @@ builds:
1919 - -X github.com/hamzabow/co/cmd.Date={{.Date}}
2020 flags :
2121 - -trimpath
22+ - -tags=netgo
2223 main : ./main.go
2324 binary : co
25+ # No need for ignore section since darwin is not in goos list
2426
2527archives :
2628 - format_overrides :
You can’t perform that action at this time.
0 commit comments