File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -232,10 +232,10 @@ jobs:
232
232
with :
233
233
xcode-version : ${{ env.XCODE_VERSION }}
234
234
235
- - name : Restore cocoapods
235
+ - name : Cache cocoapods
236
236
if : env.ios_build == 1 && env.turbo_cache_hit_ios != 1
237
237
id : library-cocoapods-cache
238
- uses : actions/cache/restore @v4
238
+ uses : actions/cache@v4
239
239
with :
240
240
path : |
241
241
${{ env.work_dir }}/**/ios/Pods
@@ -246,23 +246,6 @@ jobs:
246
246
${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-
247
247
${{ runner.os }}-library-cocoapods-
248
248
249
- - name : Install cocoapods
250
- if : env.ios_build == 1 && env.turbo_cache_hit_ios != 1 && steps.library-cocoapods-cache.outputs.cache-hit != 'true'
251
- working-directory : ${{ env.work_dir }}
252
- run : |
253
- cd example
254
- bundle install
255
- bundle exec pod install --project-directory=ios
256
-
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
-
266
249
- name : Build example (iOS)
267
250
if : env.ios_build == 1
268
251
working-directory : ${{ env.work_dir }}
You can’t perform that action at this time.
0 commit comments