Skip to content

Commit

Permalink
fix(ci): upgrade cocoapods if version is 1.15.0 (#3374)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas authored Feb 14, 2024
1 parent 24edfeb commit 85d12b5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ios-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85d12b5

Please sign in to comment.