From 85d12b5ef0be47c129287f443c1dcebc70c381e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20Fazekas?= Date: Wed, 14 Feb 2024 12:22:18 +0100 Subject: [PATCH] fix(ci): upgrade cocoapods if version is 1.15.0 (#3374) --- .github/workflows/ios-actions.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ios-actions.yml b/.github/workflows/ios-actions.yml index faf0fe53e..e367ebbd3 100644 --- a/.github/workflows/ios-actions.yml +++ b/.github/workflows/ios-actions.yml @@ -96,6 +96,17 @@ jobs: path: ios/Pods key: pods-${{ hashFiles('**/Podfile.lock') }}-${{ inputs.MAP_IMPL }}-${{ inputs.NEW_ARCH }}} + - name: Check CocoaPods version + id: cocoapods-version + run: | + pod --version > version.txt + cat version.txt + echo "version=$(cat version.txt)" >> $GITHUB_OUTPUT + + - name: Upgrade CocoaPods + if: steps.cocoapods-version.outputs.version == '1.15.0' + run: sudo gem install cocoapods -v 1.15.2 + - name: Install Pod Dependencies if: steps.pods-cache.outputs.cache-hit != 'true' run: cd ios && pod --version && pod update MapboxMaps hermes-engine RCT-Folly && pod install