From bad622ab81431cc795b5f0b01084a62f71e168da Mon Sep 17 00:00:00 2001 From: naneri Date: Tue, 2 Oct 2018 02:59:13 +0600 Subject: [PATCH] Update config.yml the cache names are not the same and it just will install every time, even though it can fetch pacakges from cache. --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6468afe7..7b935441 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,14 +30,14 @@ jobs: - restore_cache: keys: # "composer.lock" can be used if it is committed to the repo - - v1-dependencies-{{ checksum "composer.json" }} + - composer-v1-{{ checksum "composer.json" }} # fallback to using the latest cache if no exact match is found - - v1-dependencies- + - composer-v1- - run: composer install -n --prefer-dist - save_cache: - key: composer-v1-{{ checksum "composer.lock" }} + key: composer-v1-{{ checksum "composer.json" }} paths: - vendor