Skip to content

prepare next release #79

prepare next release

prepare next release #79

Workflow file for this run

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: '11'
- name: Build klibs
run: ./gradlew iosArm64MainKlibrary iosX64MainKlibrary macosArm64MainKlibrary macosX64MainKlibrary
- name: Build XCFramework
run: ./gradlew assembleKmmResultXCFramework
- name: Upload klibs
uses: actions/upload-artifact@v3
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@v3
with:
name: KmmResult-debug.xcframework
path: |
build/XCFrameworks/debug/
- name: Upload release XCFramework
uses: actions/upload-artifact@v3
with:
name: KmmResult-release.xcframework
path: |
build/XCFrameworks/release/