From 1259785329fedbdf79a54e99f47f5cd053f54c64 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 5 Aug 2019 10:55:11 +0100 Subject: [PATCH] add build caching --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f39d9a5a5..50579799c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -96,7 +96,6 @@ steps: shopt -s extglob shopt -s dotglob mv !(gopath) '$(modulePath)' - mkdir -p $(GOCACHE) displayName: Remove old Go, set GOBIN/GOROOT, and move project into GOPATH - task: CacheBeta@0 @@ -164,7 +163,8 @@ steps: env printf "\n\nRclone environment:\n\n" make vars - touch $(GOCACHE)/.empty + mkdir -p $(GOCACHE) + echo > $(GOCACHE)/.nonempty workingDirectory: '$(modulePath)' displayName: Print Go version and environment