diff --git a/.github/workflows/swift_package_test.yml b/.github/workflows/swift_package_test.yml index 0ce44009..ef199946 100644 --- a/.github/workflows/swift_package_test.yml +++ b/.github/workflows/swift_package_test.yml @@ -183,6 +183,10 @@ on: type: string description: "Command to use when building the package with the Swift SDK for Wasm" default: "swift build" + embedded_wasm_sdk_build_command: + type: string + description: "Command to use when building the package with the Embedded Swift SDK for Wasm" + default: "swift build" wasm_sdk_build_timeout: type: number description: "The default step timeout in minutes" @@ -736,7 +740,7 @@ jobs: # zizmor: ignore[template-injection] run: | ${{ inputs.wasm_sdk_pre_build_command }} - ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/install-and-build-with-sdk.sh --embedded-wasm --flags="$BUILD_FLAGS" ${{ matrix.swift_version }} + ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/install-and-build-with-sdk.sh --embedded-wasm --flags="$BUILD_FLAGS" --build-command="${{ inputs.embedded_wasm_sdk_build_command }}" ${{ matrix.swift_version }} android-sdk-build: name: Swift SDK for Android Build (${{ matrix.swift_version }} - NDK ${{ matrix.ndk_version }})