diff --git a/.github/workflows/PublishPodSpec.yml b/.github/workflows/PublishPodSpec.yml index a9368d4..366914a 100644 --- a/.github/workflows/PublishPodSpec.yml +++ b/.github/workflows/PublishPodSpec.yml @@ -1,32 +1,12 @@ -name: KMMBridgeKickStart-iOS - +name: KMM Bridge/iOS Publish on: workflow_dispatch: push: branches: - - main - pull_request: - paths-ignore: - - "**.md" - - "*.png" - - docs - - app - + - "kmm_bridge" jobs: - build: - runs-on: macos-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-java@v3 - with: - distribution: corretto - java-version: 11 + call-kmmbridge-publish: + uses: touchlab/KMMBridgeGithubWorkflow/.github/workflows/faktorybuildbranches.yml@v0.6 + secrets: + PODSPEC_SSH_KEY: ${{ secrets.PODSPEC_SSH_KEY }} - - name: Build - run: ./gradlew :allshared:iosX64Test - call-kmmbridge-publish: - uses: touchlab/KMMBridgeGithubWorkflow/.github/workflows/faktorybuildbranches.yml@v0.6 - secrets: - PODSPEC_SSH_KEY: ${{ secrets.PODSPEC_SSH_KEY }} \ No newline at end of file diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index 55f51d2..d0bb769 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -10,7 +10,6 @@ plugins { } - version = "1.0" kotlin { android() @@ -19,6 +18,7 @@ kotlin { iosSimulatorArm64() + kotlin.targets.withType(org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget::class.java) { // export correct artifact to use all classes of library directly from Swift