build: 修改构建配置启用CGO并添加编译参数
Some checks failed
构建上传工具 / build-tool (push) Failing after 1m35s

This commit is contained in:
2025-10-13 21:42:18 +08:00
parent bbf958a80e
commit 77aa6480ce

View File

@@ -27,7 +27,7 @@ jobs:
&& go env -w GOARCH=amd64 \ && go env -w GOARCH=amd64 \
&& go env -w GOOS=windows \ && go env -w GOOS=windows \
&& go mod tidy \ && go mod tidy \
&& go build -ldflags="-s -w -H windowsgui -o 上传工具.exe && go build -ldflags="-s -w -H windowsgui" -o 上传工具.exe
- name: 上传构建文件 - name: 上传构建文件
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3