add build caching

This commit is contained in:
Nick Craig-Wood 2019-08-05 10:03:25 +01:00
parent 048ff6070c
commit 6dde819d27

View file

@ -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)