From 85a15d39d0b686704a479fc07a53a0d6afa9093b Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 29 Apr 2019 16:17:09 +0100 Subject: [PATCH] fix compile_all under linux --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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