From 6dde819d27b0771808cbd20b7ac1939c4eb057d3 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 5 Aug 2019 10:03:25 +0100 Subject: [PATCH] add build caching --- azure-pipelines.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 128345a28..a0473df4c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -99,12 +99,11 @@ steps: displayName: Remove old Go, set GOBIN/GOROOT, and move project into GOPATH - task: CacheBeta@0 + continueOnError: true inputs: - key: | - go-build-cache - $(Agent.JobName) - path: $(HOME)/.cache/go-build - displayName: Cache go build + key: go-build-cache | $(Agent.JobName) + path: $(HOME)/.cache/go-build + displayName: Cache go build # Install Libraries (varies by platform)