Also fix builds for non-releases

This commit is contained in:
Dane Everitt 2020-09-11 21:00:37 -07:00
parent 606143b3ad
commit e1ff4db330
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -17,7 +17,7 @@ jobs:
go-version: '^1.15' go-version: '^1.15'
- name: Build - name: Build
run: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -ldflags "-X github.com/pterodactyl/wings/system.Version=dev-${GIT_COMMIT:0:7}" -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=dev-${GIT_COMMIT:0:7}" -o build/wings_linux_amd64 -v wings.go
- name: Test - name: Test
run: go test ./... run: go test ./...