mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Disable cgo on release ci (#334)
This commit is contained in:
parent
3d59c7d0de
commit
7b848c841f
1 changed files with 1 additions and 0 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -62,6 +62,7 @@ jobs:
|
||||||
goos: ${{ matrix.goos }}
|
goos: ${{ matrix.goos }}
|
||||||
goarch: ${{ matrix.goarch }}
|
goarch: ${{ matrix.goarch }}
|
||||||
goversion: "https://dl.google.com/go/go1.16.1.linux-amd64.tar.gz"
|
goversion: "https://dl.google.com/go/go1.16.1.linux-amd64.tar.gz"
|
||||||
|
pre_command: export CGO_ENABLED=0
|
||||||
binary_name: "wireguard-ui"
|
binary_name: "wireguard-ui"
|
||||||
build_flags: -v
|
build_flags: -v
|
||||||
ldflags: -X "main.appVersion=${{ env.APP_VERSION }}" -X "main.buildTime=${{ env.BUILD_TIME }}" -X main.gitCommit=${{ github.sha }} -X main.gitRef=${{ github.ref }}
|
ldflags: -X "main.appVersion=${{ env.APP_VERSION }}" -X "main.buildTime=${{ env.BUILD_TIME }}" -X main.gitCommit=${{ github.sha }} -X main.gitRef=${{ github.ref }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue