Update peter-evans/find-comment digest to e3c124b #1559
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 Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
concurrency: | |
group: ios-build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-ios: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Select Xcode | |
run: sudo xcode-select -s '/Applications/Xcode_14.0.app' | |
- name: Validate Gradle Wrapper | |
uses: gradle/[email protected] | |
- name: Copy CI gradle.properties | |
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build KMM Module | |
run: ./gradlew appioscombined:assembleAppioscombinedDebugXCFramework | |
- name: Zip xcframework artifact | |
run: | | |
ditto -c -k -v app-ios-combined/build/XCFrameworks/debug/appioscombined.xcframework/ appioscombined.xcframework.zip | |
- name: Upload xcframework artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: XCFrameworks | |
path: appioscombined.xcframework.zip | |
- name: Copy XCFramework to build dir | |
working-directory: app-ios | |
run: | | |
mkdir -p build | |
cp -r '../app-ios-combined/build/XCFrameworks/debug/appioscombined.xcframework' 'build' | |
- name: Build App | |
working-directory: app-ios | |
run: | | |
scripts/build.sh build 'DroidKaigi2022 (iOS)' Debug | |