From ae770075785c507ce83b139f1495ea699f2b81a9 Mon Sep 17 00:00:00 2001 From: "S.D" Date: Sun, 11 Oct 2020 19:43:11 +0100 Subject: [PATCH] hopefully fix windows build? --- .drone.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6d8c856..548e1ad 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,25 +10,16 @@ steps: - name : build windows image: golang:latest commands: - - go build -o windows_test ./cmd/test_prog - enviroment: - GOOS: windows - GOARCH: amd64 + - GOOS=windows GOARCH=amd64 go build -o windows_test.exe ./cmd/test_prog - name : build linux image: golang:latest commands: - - go build -o linux_test ./cmd/test_prog - enviroment: - GOOS: linux - GOARCH: amd64 + - GOOS=linux GOARCH=amd64 go build -o linux_test ./cmd/test_prog - name : build mac image: golang:latest commands: - - go build -o mac_test ./cmd/test_prog - enviroment: - GOOS: darwin - GOARCH: amd64 - + - GOOS=darwin GOARCH=amd64 go build -o mac_test ./cmd/test_prog + - name: publish image: plugins/gitea-release @@ -48,6 +39,6 @@ steps: files: - mac_test - linux_test - - windows_test + - windows_test.exe checksum: - sha1 \ No newline at end of file