Skip to content

Add modular build xc #1

Add modular build xc

Add modular build xc #1

name: Build XCFramework Matrix Entry
on:
workflow_call:
inputs:
module:
required: true
type: string
artifact-name:
required: true
type: string
kotlin-version:
description: "Override Kotlin version?"
required: false
default: ""
type: string
testballoon-version:
description: "Override TestBalloon version (full version string)?"
required: false
default: ""
type: string
jobs:
build:

Check failure on line 24 in .github/workflows/build-xc-matrix-entry.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-xc-matrix-entry.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
name: "macos-latest" / ${{ inputs.module }}
runs-on: macos-latest
timeout-minutes: 120
env:
KOTLIN_VERSION_ENV: ${{ inputs.kotlin-version }}
TESTBALLOON_VERSION_OVERRIDE: ${{ inputs.testballoon-version }}
steps:
- name: Common setup
uses: a-sit-plus/internal-workflows/.github/actions/common-setup@feature/modularTests
- name: Build klibs
run: ./gradlew iosArm64MainKlibrary iosX64MainKlibrary
- name: Build XCFramework
run: ./gradlew assemble${{ inputs.artifact-name }}XCFramework
- name: Upload debug XCFramework
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact-name }}-debug.xcframework
path: ${{ inputs.name }}/build/XCFrameworks/debug/
if-no-files-found: error
- name: Upload release XCFramework
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact-name }}-release.xcframework
path: ${{ inputs.name }}/build/XCFrameworks/release/
if-no-files-found: error