File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,15 @@ jobs: # a collection of steps
1818
1919 - restore_cache : # special step to restore the dependency cache
2020 # Read about caching dependencies: https://circleci.com/docs/2.0/caching/
21- key : npm-package-{{ checksum "package-lock.json" }}
21+ keys :
22+ # Find a cache corresponding to this specific package-lock.json checksum
23+ - npm-package-{{ checksum "package-lock.json" }}
24+ # Find the most recently generated cache used from any branch
25+ - npm-package-
2226 - run :
2327 name : npm install
2428 command : npm install
29+
2530 - save_cache : # special step to save the dependency cache
2631 key : npm-package-{{ checksum "package-lock.json" }}
2732 paths :
@@ -65,6 +70,8 @@ jobs: # a collection of steps
6570 - restore_cache :
6671 keys :
6772 - gemfile-{{ checksum "book/config/Gemfile.lock" }}
73+ - gemfile-
74+
6875 - run :
6976 name : Bundle Install.pre - install mathematical for 'asciidoctor-mathematical' gem
7077 command : cd book/config && bundle check --path vendor/bundle || sudo apt-get update && sudo apt-get -qq -y install cmake bison flex libffi-dev libxml2-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev ttf-lyx
@@ -75,7 +82,7 @@ jobs: # a collection of steps
7582
7683 - run :
7784 name : Bundle Install
78- command : cd book/config && bundle check || bundle install --path vendor/bundle
85+ command : cd book/config && bundle check --path vendor/bundle || bundle install --path vendor/bundle
7986
8087 # Store bundle cache
8188 - save_cache :
You can’t perform that action at this time.
0 commit comments