added CI cache versions to other build commands

pull/963/head
Scott Anderson 2020-04-22 11:46:26 -06:00
parent 9c7032197c
commit 1e107f46bc
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ jobs:
name: Generate API documentation name: Generate API documentation
command: cd api-docs && bash generate-api-docs.sh command: cd api-docs && bash generate-api-docs.sh
- save_cache: - save_cache:
key: install-v1-{{ checksum ".circleci/config.yml" }} key: install-{{ .Environment.CACHE_VERSION }}-{{ checksum ".circleci/config.yml" }}
paths: paths:
- /home/circleci/bin - /home/circleci/bin
- run: - run:
@ -49,8 +49,8 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- install-v1-{{ checksum ".circleci/config.yml" }} - install-{{ .Environment.CACHE_VERSION }}-{{ checksum ".circleci/config.yml" }}
- install-v1- - install-{{ .Environment.CACHE_VERSION }}-
- attach_workspace: - attach_workspace:
at: workspace at: workspace
- run: - run: