File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name: Development Snapshot
3
3
on :
4
4
workflow_dispatch :
5
5
inputs :
6
+ repo_url :
7
+ description : ' Repo Manifest URL'
8
+ default : ' https://github.com/compnerd/swift-build'
9
+ required : false
10
+ type : string
11
+
6
12
swift_version :
7
13
description : ' Swift Version'
8
14
default : ' 0.0.0'
48
54
default : false
49
55
type : boolean
50
56
57
+ stable_point :
58
+ description : ' Use Repo Smart Sync'
59
+ type : boolean
60
+ default : false
61
+ required : false
62
+
51
63
workflow_call :
52
64
inputs :
53
65
swift_version :
@@ -227,7 +239,7 @@ jobs:
227
239
branch_name="release/$branch_version_string"
228
240
fi
229
241
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 }}
231
243
repo sync --quiet --no-clone-bundle --no-tags --jobs $(nproc --all)
232
244
233
245
if [[ "${{ inputs.swift_tag }}" != "" ]] ; then
You can’t perform that action at this time.
0 commit comments