@@ -231,38 +231,15 @@ jobs:
231231 uses : maxim-lobanov/setup-xcode@v1
232232 with :
233233 xcode-version : ${{ env.XCODE_VERSION }}
234-
235- - name : Restore cocoapods
236- if : env.ios_build == 1 && env.turbo_cache_hit_ios != 1
237- id : library-cocoapods-cache
238- uses : actions/cache/restore@v4
239- with :
240- path : |
241- ${{ env.work_dir }}/**/ios/Pods
242- ${{ env.work_dir }}/**/ios/Podfile.lock
243- key : ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }}-${{ hashFiles(format('{0}/**/*ViewNativeComponent.ts', env.work_dir), format('{0}/**/Native*.ts', env.work_dir), format('{0}/**/*.nitro.ts', env.work_dir)) }}
244- restore-keys : |
245- ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }}-
246- ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-
247- ${{ runner.os }}-library-cocoapods-
248-
249234 - name : Install cocoapods
250- if : env.ios_build == 1 && env.turbo_cache_hit_ios != 1 && steps.library-cocoapods-cache.outputs.cache-hit != 'true'
235+ if : env.ios_build == 1 && env.turbo_cache_hit_ios != 1
251236 working-directory : ${{ env.work_dir }}
252237 run : |
253238 cd example
254239 bundle install
240+ bundle exec pod repo update --verbose
255241 bundle exec pod install --project-directory=ios
256242
257- - name : Cache cocoapods
258- if : env.ios_build == 1 && env.turbo_cache_hit_ios != 1 && steps.library-cocoapods-cache.outputs.cache-hit != 'true'
259- uses : actions/cache/save@v4
260- with :
261- path : |
262- ${{ env.work_dir }}/**/ios/Pods
263- ${{ env.work_dir }}/**/ios/Podfile.lock
264- key : ${{ steps.library-cocoapods-cache.outputs.cache-primary-key }}
265-
266243 - name : Build example (iOS)
267244 if : env.ios_build == 1
268245 working-directory : ${{ env.work_dir }}
0 commit comments