Skip to content

Update peter-evans/create-or-update-comment digest to 1efb899 #1653

Update peter-evans/create-or-update-comment digest to 1efb899

Update peter-evans/create-or-update-comment digest to 1efb899 #1653

Workflow file for this run

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