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
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: