Change CI caching strategy

Key the cache on the image being used and the commit sha. This should allow the cache to be reused by the same runner across multiple jobs/stages where appropriate.
This commit is contained in:
Mark Felder 2024-06-19 23:45:42 -04:00
parent 9a4cdde5c9
commit f00a681cc1
2 changed files with 1 additions and 3 deletions

View File

@ -18,9 +18,7 @@ workflow:
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH
cache: &global_cache_policy cache: &global_cache_policy
key: key: $CI_JOB_IMAGE-$CI_COMMIT_SHORT_SHA
files:
- mix.lock
paths: paths:
- deps - deps
- _build - _build

View File