From 55a712180a57636cca693e7db808fad28f6f673e Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 28 Jun 2019 08:11:30 +1000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 322e4a09..541bdb76 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,14 +4,14 @@ # https://docs.microsoft.com/azure/devops/pipelines/languages/go trigger: -- master +- develop pool: vmImage: 'ubuntu-latest' variables: GOBIN: '$(GOPATH)/bin' # Go binaries path - GOROOT: '/usr/local/go1.11' # Go installation path + GOROOT: '/usr/local/go1.12' # Go installation path GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path GOMODULE: 'on' modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code @@ -31,6 +31,7 @@ steps: - script: | go version go get -v -t -d ./... + cd cmd/wails go build -v . workingDirectory: '$(modulePath)' displayName: 'Get dependencies, then build'