Fix .drone.yml syntax
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Array format not supported in 1.0 yet unlike the claim made in documentationmaster
parent
346e04401d
commit
317f4799aa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue