Skip to content

Commit

Permalink
Some more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Apr 10, 2024
1 parent d98a42a commit f7d3843
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
working-directory: [example]
fail-fast: false
concurrency:
group: build-ios-${{ matrix.working-directory }}-${{ github.ref }}
group: ios-${{ matrix.working-directory }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out Git repository
Expand All @@ -43,29 +43,10 @@ jobs:
- name: Install node_modules
run: yarn install --immutable

- name: Restore Pods from cache
uses: actions/cache@v4
with:
path: |
${{ matrix.working-directory }}/ios/Pods
~/Library/Caches/CocoaPods
~/.cocoapods
key: ${{ runner.os }}-pods-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/ios/Podfile.lock', matrix.working-directory)) }}

- name: Install Pods
working-directory: ${{ matrix.working-directory }}/ios
run: bundler install && bundler exec pod install

- name: Restore build artifacts from cache
uses: actions/cache@v4
with:
path: ~/Library/Developer/Xcode/DerivedData
key: ${{ runner.os }}-ios-derived-data-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/ios/Podfile.lock', matrix.working-directory)) }}

- name: Configure NODE_BINARY
working-directory: ${{ matrix.working-directory }}/ios
run: echo export NODE_BINARY=$(command -v node) > .xcode.env

- name: Build app
working-directory: ${{ matrix.working-directory }}
run: npx react-native@latest run-ios --no-packager --simulator="iPhone 14"
run: npx react-native run-ios --no-packager

0 comments on commit f7d3843

Please sign in to comment.