fix(ci): add .tool-versions
to set cache key
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
With this change we ensure dependencies and build directories are re-created when changes in runtime are applied.
This commit is contained in:
parent
1704c39074
commit
343b353795
@ -27,7 +27,7 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
archive_format: gzip
|
archive_format: gzip
|
||||||
bucket: trainlog-cache
|
bucket: trainlog-cache
|
||||||
cache_key: '{{ .Repo.Name }}-{{ checksum "mix.lock" }}'
|
cache_key: '{{ .Repo.Name }}-{{ checksum ".tool-versions" }}-{{ checksum "mix.lock" }}'
|
||||||
endpoint: minio:9000
|
endpoint: minio:9000
|
||||||
mount:
|
mount:
|
||||||
- _build
|
- _build
|
||||||
@ -67,7 +67,7 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
archive_format: gzip
|
archive_format: gzip
|
||||||
bucket: trainlog-cache
|
bucket: trainlog-cache
|
||||||
cache_key: '{{ .Repo.Name }}-{{ checksum "mix.lock" }}'
|
cache_key: '{{ .Repo.Name }}-{{ checksum ".tool-versions" }}-{{ checksum "mix.lock" }}'
|
||||||
endpoint: minio:9000
|
endpoint: minio:9000
|
||||||
exit_code: true
|
exit_code: true
|
||||||
mount:
|
mount:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user