File tree Expand file tree Collapse file tree
.github/actions/setup-e2e-env Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ inputs:
1717 description : Name of iOS simulator device to boot (e.g., "iPhone 15")
1818 required : false
1919 default : " iPhone 15"
20+ bundler-version :
21+ description : ' Bundler version to use (only for iOS)'
22+ required : false
23+ default : ' 2.5.8'
2024 cache-prefix :
2125 description : ' Cache key prefix'
2226 required : false
@@ -54,18 +58,30 @@ runs:
5458# # IOS Setup ##
5559 - name : Setup Ruby
5660 if : ${{ inputs.platform == 'ios' }}
57- uses : ruby/setup-ruby@v1
61+ uses : ruby/setup-ruby@e851ebd3adcc861aa9e9763c26a9025811f77cd9 # ( v1.245.0 )
5862 with :
5963 ruby-version : ${{ inputs.ruby-version }}
6064
65+ - name : Install bundler
66+ if : ${{ inputs.platform == 'ios' }}
67+ run : gem install bundler -v ${{ inputs.bundler-version }}
68+ shell : bash
69+
6170 - name : Select Xcode version
6271 if : ${{ inputs.platform == 'ios' }}
6372 run : sudo xcode-select -s /Applications/Xcode_${{ inputs.xcode-version }}.app
6473 shell : bash
6574
66- - name : Install CocoaPods
75+ - name : Install Ruby gems via bundler
6776 if : ${{ inputs.platform == 'ios' }}
68- run : sudo gem install cocoapods
77+ run : bundle install
78+ working-directory : ios
79+ shell : bash
80+
81+ - name : Install CocoaPods via bundler
82+ if : ${{ inputs.platform == 'ios' && inputs.setup-simulator == 'true' }}
83+ run : bundle exec pod install
84+ working-directory : ios
6985 shell : bash
7086
7187 - name : Install applesimutils
You can’t perform that action at this time.
0 commit comments