Skip to content

Commit 579bf28

Browse files
authored
Use global ruby for pod install in min version test (#2783)
1 parent 95ebf3f commit 579bf28

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/min_version_test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,20 @@ jobs:
5959
with:
6060
ruby-version: '3.1.2' # https://github.com/flutter/flutter/issues/109385#issuecomment-1212614125
6161

62-
- name: Update Pods
63-
run: sudo gem update
62+
- name: Uninstall existing CocoaPods and install globally
63+
run: |
64+
gem uninstall cocoapods -a
65+
sudo gem install cocoapods
66+
echo "$(which pod)"
67+
6468
- name: Build iOS
6569
run: |
6670
cd min_version_test
6771
flutter pub get
72+
cd ios
73+
pod repo update
74+
pod install
75+
cd ..
6876
flutter build ios --no-codesign
6977
7078
build-web:

0 commit comments

Comments
 (0)