diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 092b13ec6..93d0716f2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -95,7 +95,9 @@ steps: - bash: | wget "https://dl.google.com/go/$(GO_VERSION).linux-amd64.tar.gz" - sudo tar -C $(gorootDir) -xzf "$(GO_VERSION).linux-amd64.tar.gz" + sudo mkdir $(gorootDir) + sudo chown ${USER}:${USER} $(gorootDir) + tar -C $(gorootDir) -xzf "$(GO_VERSION).linux-amd64.tar.gz" condition: eq( variables['Agent.OS'], 'Linux' ) displayName: Install Go on Linux