Skip to content

Commit

Permalink
Remove hardcoded version of cocoapods (#2772)
Browse files Browse the repository at this point in the history
## Description

In #2765 I've updated `cocoapods` on CI in order to fix iOS build action. The problem with this approach was that I had to hardcode `cocoapods` version to `1.15.2`. This PR changes workflow to use `bundle install && bundle exec` instead.

## Test plan

See that CI passes.
  • Loading branch information
m-bert authored Feb 21, 2024
1 parent 7cdb409 commit 12cf6e6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@ jobs:
with:
node-version: 18
cache: 'yarn'
- name: setup-cocoapods
uses: maxim-lobanov/setup-cocoapods@v1
with:
version: 1.15.2
- name: Install node dependencies
working-directory: ${{ matrix.working-directory }}
run: yarn
- name: Install pods
working-directory: ${{ matrix.working-directory }}/ios
run: pod install
run: bundle install && bundle exec pod install
- name: Build app
working-directory: ${{ matrix.working-directory }}
run: yarn ios --simulator=\"iPhone 14\" --mode Debug --verbose --terminal /bin/zsh

0 comments on commit 12cf6e6

Please sign in to comment.