fix: fix CIs using the wrong branch name #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: iOS CI | |
on: | |
push: | |
paths: | |
- 'shared/**' | |
- 'ios/**' | |
- '.github/workflows/ios-ci.yml' | |
pull_request: | |
paths: | |
- 'shared/**' | |
- 'ios/**' | |
- '.github/workflows/ios-ci.yml' | |
jobs: | |
build-and-test: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Xcode | |
uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: '15.0' | |
- name: Build Shared Code | |
run: ./gradlew :shared:assembleRelease | |
- name: Build iOS App | |
run: xcodebuild build -workspace ios/iosApp.xcworkspace -scheme iosApp | |
- name: Test iOS App | |
run: xcodebuild test -workspace ios/iosApp.xcworkspace -scheme iosApp | |
- name: Upload Code Coverage | |
uses: codecov/codecov-action@v3 |