troubleshoot go cache location
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-04 14:36:10 +11:00
parent 023fdc22a6
commit 5e52813111
2 changed files with 10 additions and 7 deletions

View File

@@ -5,7 +5,10 @@ export CGO_ENABLED=0
export now=$(TZ=Australia/Sydney date '+%Y%m%d-%H%M%S')
echo $now
make drone-cache
go env GOCACHE
GOCACHE=/tmp/cache
export GOCACHE
go env GOCACHE
echo "build commences"
go build -ldflags "-X main.sha1ver=`git rev-parse HEAD` -X main.buildTime=$now" -o smt
echo "build complete"