Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/build-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
Loading