1
0
Fork 0

Fix .drone.yml syntax
continuous-integration/drone/push Build is failing Details

Array format not supported in 1.0 yet unlike the claim made in documentation
master
Ambrose Chua 2018-12-01 14:45:00 +08:00 committed by GitHub
parent 346e04401d
commit 317f4799aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@ steps:
image: golang:1.11
pull: true
environment:
- CGO_ENABLED=0
- GOOS=linux
- GOARCH=amd64
CGO_ENABLED: 0
GOOS: linux
GOARCH: amd64
commands:
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
- if [ "$GOOS" = "windows" ]; then export FILENAME=$FILENAME.exe; fi