Browse Source

Fix .drone.yml syntax

Array format not supported in 1.0 yet unlike the claim made in documentation
master
Ambrose Chua 4 years ago
committed by GitHub
parent
commit
317f4799aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .drone.yml

6
.drone.yml

@ -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…
Cancel
Save