mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
fix: build
This commit is contained in:
parent
8ff7e73537
commit
e0663da331
1 changed files with 4 additions and 3 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -75,9 +75,10 @@ jobs:
|
|||
- name: Build Windows 7
|
||||
run: |
|
||||
go version
|
||||
rm go.mod go.sum
|
||||
go mod init github.com/schollz/croc/v10
|
||||
go mod tidy
|
||||
# rm go.mod go.sum
|
||||
# go mod init github.com/schollz/croc/v10
|
||||
# go mod tidy
|
||||
go get golang.org/x/sys@v0.33.0
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-extldflags "-static"' -o croc.exe
|
||||
zip croc_${{ github.event.release.name }}_Windows7-64bit.zip croc.exe
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags '-extldflags "-static"' -o croc.exe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue