diff --git a/src/commands/pod_install.yml b/src/commands/pod_install.yml index e0a4a62..88a740b 100644 --- a/src/commands/pod_install.yml +++ b/src/commands/pod_install.yml @@ -10,8 +10,16 @@ parameters: default: "ios" description: The location of the "ios" directory steps: + - restore_cache: + keys: + - cache-pods-{{ checksum "<>/Podfile.lock" }}-{{ .Environment.CACHE_VERSION }} + - cache-pods- - run: name: Install CocoaPods command: | curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf cd <> && pod install && cd - + - save_cache: + paths: + - <>/Pods + key: cache-pods-{{ checksum "<>/Podfile.lock" }}-{{ .Environment.CACHE_VERSION }}