From 317f4799aaeeb7f6c3d5ac9d987d1c5eae86445f Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Sat, 1 Dec 2018 14:45:00 +0800 Subject: [PATCH] Fix .drone.yml syntax Array format not supported in 1.0 yet unlike the claim made in documentation --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index bf778b1..004264e 100644 --- a/.drone.yml +++ b/.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