Skip to content

Commit df702d5

Browse files
committed
ci: remove manual pod install step
1 parent ffca33d commit df702d5

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/build-templates.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ jobs:
232232
with:
233233
xcode-version: ${{ env.XCODE_VERSION }}
234234

235-
- name: Restore cocoapods
235+
- name: Cache cocoapods
236236
if: env.ios_build == 1 && env.turbo_cache_hit_ios != 1
237237
id: library-cocoapods-cache
238-
uses: actions/cache/restore@v4
238+
uses: actions/cache@v4
239239
with:
240240
path: |
241241
${{ env.work_dir }}/**/ios/Pods
@@ -246,23 +246,6 @@ jobs:
246246
${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-
247247
${{ runner.os }}-library-cocoapods-
248248
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-
266249
- name: Build example (iOS)
267250
if: env.ios_build == 1
268251
working-directory: ${{ env.work_dir }}

0 commit comments

Comments
 (0)