Skip to content

Commit 626affc

Browse files
none: reverting pod changes to original
1 parent 468bd2b commit 626affc

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

.circleci/config.yml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
version: 2.1
22

3-
setup_ruby: &setup_ruby
4-
run:
5-
name: Setup Ruby
6-
command: sed -i '' 's/.*chruby ruby.*/chruby ruby-3.3.4/' ~/.bash_profile
7-
83
# Default VM config to be used for macOS builds
94
macos_config: &macos_config
105
macos:
@@ -52,7 +47,6 @@ jobs:
5247
install-dependencies:
5348
<<: *macos_config
5449
steps:
55-
- <<: *setup_ruby
5650
- checkout
5751
- attach_project
5852

@@ -123,7 +117,6 @@ jobs:
123117
name: android/android-machine
124118
working_directory: ~/project
125119
steps:
126-
- <<: *setup_ruby
127120
- checkout:
128121
path: ~/project
129122

@@ -180,23 +173,9 @@ jobs:
180173
keys:
181174
- pod-dependencies-{{ checksum "~/project/example/ios/Podfile" }}
182175
- run:
183-
name: Set Ruby Version
184-
command: sed -i '' 's/.*chruby ruby.*/chruby ruby-3.3.4/' ~/.bash_profile
185-
- run:
186-
name: Install Bundler
187-
command: gem install bundler
188-
- run:
189-
name: Bundler
190-
command: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs 4
191-
- run:
192-
name: CocoaPods
193-
command: |
194-
cd Example
195-
if bundle exec pod check; then
196-
echo "Skipping pod install"
197-
else
198-
bundle exec pod install
199-
fi
176+
working_directory: example/ios
177+
name: Install Pods
178+
command: pod install
200179

201180
- save_cache:
202181
key: pod-dependencies-{{ checksum "~/project/example/ios/Podfile" }}

0 commit comments

Comments
 (0)