Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Nov 2, 2019
1 parent 6fada04 commit 263a7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Expand Up @@ -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
Expand Down

0 comments on commit 263a7da

Please sign in to comment.