1.9.2: lower Android minSdk to 21 (5.0 Lollipop) #188
Workflow file for this run
This file contains hidden or 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: Build iOS Framework | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Build klibs | |
| run: ./gradlew iosArm64MainKlibrary iosX64MainKlibrary macosArm64MainKlibrary macosX64MainKlibrary | |
| - name: Build XCFramework | |
| run: ./gradlew assembleKmmResultXCFramework | |
| - name: Upload klibs | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: macos-ios-tvos-kmmresult-klib | |
| path: | | |
| build/classes/kotlin/macos*/main/klib/kmmresult.klib | |
| build/classes/kotlin/ios*/main/klib/kmmresult.klib | |
| build/classes/kotlin/tvos*/main/klib/kmmresult.klib | |
| - name: Upload debug XCFramework | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: KmmResult-debug.xcframework | |
| path: | | |
| build/XCFrameworks/debug/ | |
| - name: Upload release XCFramework | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: KmmResult-release.xcframework | |
| path: | | |
| build/XCFrameworks/release/ |