From 20af3bcf3aa1a7158f3f8c3c2fe6d69a52e2ab0f Mon Sep 17 00:00:00 2001 From: Paul Zabelin Date: Mon, 21 Jan 2019 22:29:42 -0800 Subject: [PATCH] skip cocoapods spec update when pods are already installed --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6e08399..d405e68 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,8 +21,8 @@ jobs: - run: name: Install CocoaPods command: | - curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf - pod install --project-directory=Example + ls -la Example/Pods/Manifest.lock && echo Skipping cocoapods repo update || curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf + bundle exec pod install --project-directory=Example - save_cache: key: 2-pods-{{ checksum "Example/Podfile.lock" }} paths: