Fix flags for workflow, strips 8MB off final binary size

This commit is contained in:
Dane Everitt 2020-09-11 20:59:39 -07:00
parent 57221bdd30
commit 606143b3ad
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -17,7 +17,7 @@ jobs:
- name: Build
env:
REF: ${{ github.ref }}
run: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -ldflags "-X github.com/pterodactyl/wings/system.Version=${REF:11}" -o build/wings_linux_amd64 -v wings.go
run: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=${REF:11}" -o build/wings_linux_amd64 -v wings.go
- name: Test
run: go test ./...