diff --git a/.github/workflows/build-toolchain.yml b/.github/workflows/build-toolchain.yml index a16bb0ec6..62831ca98 100644 --- a/.github/workflows/build-toolchain.yml +++ b/.github/workflows/build-toolchain.yml @@ -3,6 +3,12 @@ name: Development Snapshot on: workflow_dispatch: inputs: + repo_url: + description: 'Repo Manifest URL' + default: 'https://github.com/compnerd/swift-build' + required: false + type: string + swift_version: description: 'Swift Version' default: '0.0.0' @@ -48,6 +54,12 @@ on: default: false type: boolean + stable_point: + description: 'Use Repo Smart Sync' + type: boolean + default: false + required: false + workflow_call: inputs: swift_version: @@ -227,7 +239,7 @@ jobs: branch_name="release/$branch_version_string" fi - repo init --quiet --groups default --depth 1 -u https://github.com/compnerd/swift-build -b $branch_name + repo init --quiet --groups default --depth 1 -u ${{ inputs.repo_url }} -b $branch_name repo sync --quiet --no-clone-bundle --no-tags --jobs $(nproc --all) if [[ "${{ inputs.swift_tag }}" != "" ]] ; then