From 1e107f46bc8f14dccc2b69f7b377dcb72013a61b Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 22 Apr 2020 11:46:26 -0600 Subject: [PATCH] added CI cache versions to other build commands --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 013ded9a1..513116a59 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,7 +31,7 @@ jobs: name: Generate API documentation command: cd api-docs && bash generate-api-docs.sh - save_cache: - key: install-v1-{{ checksum ".circleci/config.yml" }} + key: install-{{ .Environment.CACHE_VERSION }}-{{ checksum ".circleci/config.yml" }} paths: - /home/circleci/bin - run: @@ -49,8 +49,8 @@ jobs: - checkout - restore_cache: keys: - - install-v1-{{ checksum ".circleci/config.yml" }} - - install-v1- + - install-{{ .Environment.CACHE_VERSION }}-{{ checksum ".circleci/config.yml" }} + - install-{{ .Environment.CACHE_VERSION }}- - attach_workspace: at: workspace - run: