From c1f10c60abe5ff3146096906e3f2f05ed2da9cb3 Mon Sep 17 00:00:00 2001 From: Oscar Franco Date: Wed, 6 Mar 2024 15:34:10 +0100 Subject: [PATCH] Modify CI script --- .github/workflows/ci.yml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5de7793e..6808ea21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,6 +108,11 @@ jobs: - name: Setup uses: ./.github/actions/setup + - name: install bundler dependencies + run: | + cd example + bundle install + - name: Cache turborepo for iOS uses: actions/cache@v3 with: @@ -124,22 +129,22 @@ jobs: echo "turbo_cache_hit=1" >> $GITHUB_ENV fi - - name: Cache cocoapods - if: env.turbo_cache_hit != 1 - id: cocoapods-cache - uses: actions/cache@v3 - with: - path: | - **/ios/Pods - key: ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }} - restore-keys: | - ${{ runner.os }}-cocoapods- + # - name: Cache cocoapods + # if: env.turbo_cache_hit != 1 + # id: cocoapods-cache + # uses: actions/cache@v3 + # with: + # path: | + # **/ios/Pods + # key: ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }} + # restore-keys: | + # ${{ runner.os }}-cocoapods- - name: Install cocoapods - if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true' + # if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true' run: | cd example/ios - pod install + bundle exec pod install env: NO_FLIPPER: 1