Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(ci) optimize ios-rn-bundle-build by caching CocoaPods dependencies

Vishal Malyan103d1f84acf7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 537be4ab72..14007ae2a4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -96,9 +96,18 @@ jobs:
ruby-version: '3.4'
bundler-cache: true
- run: npx react-native info
+ - name: Cache CocoaPods
+ uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
+ with:
+ path: |
+ ios/Pods
+ ~/Library/Caches/CocoaPods
+ key: ${{ runner.os }}-cocoapods-${{ hashFiles('ios/Podfile.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-cocoapods-
- name: Install Pods
working-directory: ./ios
- run: bundle exec pod install --repo-update --deployment
+ run: bundle exec pod install --deployment
- run: npx react-native bundle --entry-file react/index.native.js --platform ios --bundle-output /tmp/ios.bundle --reset-cache
android-sdk-build:
name: Build mobile SDK (Android)