From f21f0972906322a765a467bd9f7adb506ada76da Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 11 Oct 2018 14:32:50 -0700 Subject: [PATCH] cache --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index a0479b0a2..0927ece87 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -493,6 +493,20 @@ jobs: - image: circleci/android:api-26-node8-alpha resource_class: large steps: + - restore_cache: # If any cache exists, it'll way speedup these checkouts + keys: + - source-v2-{{ arch }}-{{ .Branch }}-{{ .Revision }} + - source-v2-{{ arch }}-{{ .Branch }}- + - source-v2-{{ arch }}- + + - checkout: + path: ~/textile-mobile + + - save_cache: + key: source-v2-{{ arch }}-{{ .Branch }}-{{ .Revision }} + paths: + - ".git" + - restore_cache: key: apk-{{ checksum "android/Gemfile.lock" }}-{{ arch }}