Skip to content

Commit 8940eda

Browse files
committed
Temporarily apply #908
1 parent 4adf1ed commit 8940eda

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Development Snapshot
33
on:
44
workflow_dispatch:
55
inputs:
6+
repo_url:
7+
description: 'Repo Manifest URL'
8+
default: 'https://github.com/compnerd/swift-build'
9+
required: false
10+
type: string
11+
612
swift_version:
713
description: 'Swift Version'
814
default: '0.0.0'
@@ -48,6 +54,12 @@ on:
4854
default: false
4955
type: boolean
5056

57+
stable_point:
58+
description: 'Use Repo Smart Sync'
59+
type: boolean
60+
default: false
61+
required: false
62+
5163
workflow_call:
5264
inputs:
5365
swift_version:
@@ -227,7 +239,7 @@ jobs:
227239
branch_name="release/$branch_version_string"
228240
fi
229241
230-
repo init --quiet --groups default --depth 1 -u https://github.com/compnerd/swift-build -b $branch_name
242+
repo init --quiet --groups default --depth 1 -u ${{ inputs.repo_url }} -b $branch_name ${{ inputs.stable_point && -s }}
231243
repo sync --quiet --no-clone-bundle --no-tags --jobs $(nproc --all)
232244
233245
if [[ "${{ inputs.swift_tag }}" != "" ]] ; then

0 commit comments

Comments
 (0)