Skip to content

Commit ab67bec

Browse files
author
Jake Perkins
committed
add more deps
1 parent a75fa8b commit ab67bec

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

.github/actions/setup-e2e-env/action.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)