From ea3db2bd96b8e3d85e937d9162e89170246e371e Mon Sep 17 00:00:00 2001 From: Brian Hatchet <brian@minds.com> Date: Mon, 19 Aug 2019 14:51:48 -0600 Subject: [PATCH] restoring ruby gem cache for ios --- .circleci/config.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9e61e7ba5e..174afca61f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -118,22 +118,20 @@ jobs: ios-build-test: macos: xcode: "10.1" - working_directory: ~/mobile-native - # use a --login shell so our "set Ruby version" command gets picked up for later steps - shell: /bin/bash --login -o pipefail + working_directory: ~/mobile-native/ios steps: - - run: - command: gem update --system && gem install bundler && bundle install - working_directory: ios + - restore_cache: + key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}-{{ arch }} - run: name: Build release .ipa command: fastlane buildrelease - working_directory: ios ios-build-release: macos: xcode: "10.1" - working_directory: ~/mobile-native + working_directory: ~/mobile-native/ios steps: + - restore_cache: + key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}-{{ arch }} - run: name: Upload to crashalytics command: echo "TODO" -- GitLab