File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,11 +153,26 @@ jobs:
153153 with :
154154 xcode-version : ${{ env.XCODE_VERSION }}
155155
156- - name : Install cocoapods
157- if : env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
156+ - name : Setup Ruby
157+ if : env.turbo_cache_hit != 1
158+ uses : ruby/setup-ruby@v1
159+ with :
160+ ruby-version-file : example/.ruby-version
161+ bundler-cache : false
162+ working-directory : example
163+
164+ - name : Update Bundler and install dependencies
165+ if : env.turbo_cache_hit != 1
158166 run : |
159167 cd example
168+ gem install bundler
169+ rm -f Gemfile.lock
160170 bundle install
171+
172+ - name : Install cocoapods
173+ if : env.turbo_cache_hit != 1
174+ run : |
175+ cd example
161176 bundle exec pod repo update --verbose
162177 bundle exec pod install --project-directory=ios
163178
Original file line number Diff line number Diff line change 1+ 3.1.6
You can’t perform that action at this time.
0 commit comments