Skip to content

Commit

Permalink
add pods back to gitignore, cache in job 🏜
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpedersen42 committed Sep 9, 2020
1 parent 1fa8cf3 commit 5ace4f5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
environment:
FL_OUTPUT_DIR: output
FASTLANE_LANE: test

steps:
- checkout
- restore_cache:
Expand All @@ -76,6 +76,9 @@ jobs:
- restore_cache:
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}-{{ arch }}

- restore_cache:
key: pods-v1-{{ checksum "ios/Podfile.lock" }}-{{ arch }}

- run:
command: pod install
working_directory: ios
Expand All @@ -88,6 +91,11 @@ jobs:
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}-{{ arch }}
paths:
- vendor/bundle

- save_cache:
key: pods-v1-{{ checksum "ios/Podfile.lock" }}-{{ arch }}
paths:
- ios/Pods

- run:
name: Fastlane
Expand All @@ -96,6 +104,7 @@ jobs:

- store_artifacts:
path: output

- store_test_results:
path: output/scan

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ buck-out/
*.jsbundle

# # CocoaPods
# /ios/Pods/
/ios/Pods/

0 comments on commit 5ace4f5

Please sign in to comment.