diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2c27856ad..00f32043f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,18 +16,8 @@ variables: modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code steps: -- script: | - mkdir -p '$(GOBIN)' - mkdir -p '$(GOPATH)/pkg' - mkdir -p '$(modulePath)' - shopt -s extglob - shopt -s dotglob - mv !(gopath) '$(modulePath)' - echo '##vso[task.prependpath]$(GOBIN)' - echo '##vso[task.prependpath]$(GOROOT)/bin' - displayName: 'Set up the Go workspace' - - task: CmdLine@2 name: Build inputs: + workingDirectory: '$(Build.Repository.LocalPath)/dendrite' script: './build.sh' \ No newline at end of file