From 263a7dadaa7c44c6c10995c931bbfe6ebedd3507 Mon Sep 17 00:00:00 2001 From: blacktop Date: Sat, 2 Nov 2019 11:20:59 -0400 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5697fba6f..b71ca2ee6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -50,7 +50,7 @@ jobs: - name: Build (Linux) if: matrix.platform == 'ubuntu-latest' - run: sudo LD_LIBRARY_PATH=/usr/local/lib CGO_ENABLED=1 go build -o build/dist/ipsw -a -tags netgo -ldflags "-s -w -extldflags '-static' -X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppVersion=$(cat VERSION) -X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppBuildTime==$(date -u +%Y%m%d)" ./cmd/ipsw + run: CGO_ENABLED=1 go build -o build/dist/ipsw -a -tags netgo -ldflags "-s -w -extldflags '-static' -X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppVersion=$(cat VERSION) -X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppBuildTime==$(date -u +%Y%m%d)" ./cmd/ipsw - name: Build (macOS) if: matrix.platform == 'macos-latest' run: sudo CGO_ENABLED=1 go build -o build/dist/ipsw -ldflags "-s -w -X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppVersion=$(cat VERSION) -X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppBuildTime==$(date -u +%Y%m%d)" ./cmd/ipsw