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