change cache key
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2024-01-04 15:08:55 +11:00
parent 2b331719b9
commit f5fc5c0a56

View File

@@ -24,7 +24,7 @@ steps:
backend: "filesystem"
#debug: true
restore: true
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
cache_key: '{{ .Repo.Name }}_{{ arch }}_{{ os }}'
archive_format: "gzip"
filesystem_cache_root: "/go"
local_root: /
@@ -55,7 +55,7 @@ steps:
backend: "filesystem"
#debug: true
rebuild: true
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
cache_key: '{{ .Repo.Name }}_{{ arch }}_{{ os }}'
archive_format: "gzip"
filesystem_cache_root: "/go"
mount: