Skip to content

Commit

Permalink
Update build flow for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactor committed May 23, 2024
1 parent 5eeb39e commit 0e71ecf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@ concurrency:

jobs:
ios-build:
runs-on: macos-latest
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies

- name: Use latest stable Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- name: Pull dependencies
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -55,7 +60,7 @@ jobs:
key: ${{ hashFiles('./example/ios/Podfile.lock') }}

- name: Install example Pods
run: NO_FLIPPER=1 pod install
run: pod install
working-directory: example/ios

- name: Install Maestro CLI
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"bootstrap-fabric": "yarn example && yarn && yarn example pods-fabric",
"test:e2e:android": "bash ./scripts/run-maestro-tests.sh android",
"run-example-android": "cd example;react-native run-android --variant=release",
"run-example-ios": "cd example;react-native run-ios --configuration Release --simulator \"iPhone 13 (15.2)\"",
"run-example-ios": "cd example;react-native run-ios --mode \"Release\" --simulator \"iPhone 13 (15.2)\"",
"test:e2e:ios": "bash ./scripts/run-maestro-tests.sh ios"
},
"keywords": [
Expand Down

0 comments on commit 0e71ecf

Please sign in to comment.