1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00

fix windows7 build

This commit is contained in:
Zackary Scholl 2025-04-28 12:54:10 -07:00
parent 70dea6b596
commit 6b5c3bfc0c

View file

@ -51,9 +51,9 @@ jobs:
- name: Build Windows 7 version
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
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-extldflags "-static"' -o croc-windows7-amd64.exe
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags '-extldflags "-static"' -o croc-windows7-386.exe