Only use repo, arch and os in cache key
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
1fe18a69e0
commit
7b2e948b0b
|
@ -22,7 +22,7 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
backend: "filesystem"
|
||||||
restore: true
|
restore: true
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "editor/package.json" }}_{{ checksum "editor/package-lock.json" }}_{{ arch }}_{{ os }}'
|
cache_key: '{{ .Repo.Name }}_{{ arch }}_{{ os }}'
|
||||||
archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
mount:
|
mount:
|
||||||
- './editor/node_modules'
|
- './editor/node_modules'
|
||||||
|
@ -49,7 +49,7 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
backend: "filesystem"
|
||||||
rebuild: true
|
rebuild: true
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "editor/package.json" }}_{{ checksum "editor/package-lock.json" }}_{{ arch }}_{{ os }}'
|
cache_key: '{{ .Repo.Name }}_{{ arch }}_{{ os }}'
|
||||||
archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
mount:
|
mount:
|
||||||
- './editor/node_modules'
|
- './editor/node_modules'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user