mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-09-11 05:44:09 +08:00
release: Fix linux build
This commit is contained in:
parent
8d9ebdcaa2
commit
3aaab0be69
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@ -92,7 +92,7 @@ jobs:
|
|||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
|
go build -v -trimpath -o dist/sing-box -tags "${BUILD_TAGS}" \
|
||||||
-ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }}' \
|
-ldflags '-s -buildid= -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.version }} -checklinkname=0' \
|
||||||
./cmd/sing-box
|
./cmd/sing-box
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user