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