File tree Expand file tree Collapse file tree 7 files changed +77
-0
lines changed
.github/workflows/scripts/windows Expand file tree Collapse file tree 7 files changed +77
-0
lines changed Original file line number Diff line number Diff line change
1
+ # #===----------------------------------------------------------------------===##
2
+ # #
3
+ # # This source file is part of the Swift.org open source project
4
+ # #
5
+ # # Copyright (c) 2024 Apple Inc. and the Swift project authors
6
+ # # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ # #
8
+ # # See https://swift.org/LICENSE.txt for license information
9
+ # # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ # #
11
+ # #===----------------------------------------------------------------------===##
1
12
$VSB = ' https://download.visualstudio.microsoft.com/download/pr/5536698c-711c-4834-876f-2817d31a2ef2/c792bdb0fd46155de19955269cac85d52c4c63c23db2cf43d96b9390146f9390/vs_BuildTools.exe'
2
13
$VSB_SHA256 = ' C792BDB0FD46155DE19955269CAC85D52C4C63C23DB2CF43D96B9390146F9390'
3
14
Set-Variable ErrorActionPreference Stop
Original file line number Diff line number Diff line change
1
+ # #===----------------------------------------------------------------------===##
2
+ # #
3
+ # # This source file is part of the Swift.org open source project
4
+ # #
5
+ # # Copyright (c) 2024 Apple Inc. and the Swift project authors
6
+ # # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ # #
8
+ # # See https://swift.org/LICENSE.txt for license information
9
+ # # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ # #
11
+ # #===----------------------------------------------------------------------===##
1
12
. $PSScriptRoot \install-swift.ps1
2
13
3
14
$SWIFT = ' https://download.swift.org/swift-5.10.1-release/windows10/swift-5.10.1-RELEASE/swift-5.10.1-RELEASE-windows10.exe'
Original file line number Diff line number Diff line change
1
+ # #===----------------------------------------------------------------------===##
2
+ # #
3
+ # # This source file is part of the Swift.org open source project
4
+ # #
5
+ # # Copyright (c) 2024 Apple Inc. and the Swift project authors
6
+ # # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ # #
8
+ # # See https://swift.org/LICENSE.txt for license information
9
+ # # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ # #
11
+ # #===----------------------------------------------------------------------===##
1
12
. $PSScriptRoot \install-swift.ps1
2
13
3
14
$SWIFT = ' https://download.swift.org/swift-5.9.2-release/windows10/swift-5.9.2-RELEASE/swift-5.9.2-RELEASE-windows10.exe'
Original file line number Diff line number Diff line change
1
+ # #===----------------------------------------------------------------------===##
2
+ # #
3
+ # # This source file is part of the Swift.org open source project
4
+ # #
5
+ # # Copyright (c) 2024 Apple Inc. and the Swift project authors
6
+ # # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ # #
8
+ # # See https://swift.org/LICENSE.txt for license information
9
+ # # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ # #
11
+ # #===----------------------------------------------------------------------===##
1
12
. $PSScriptRoot \install-swift.ps1
2
13
3
14
$SWIFT = ' https://download.swift.org/swift-6.0.2-release/windows10/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE-windows10.exe'
Original file line number Diff line number Diff line change
1
+ # #===----------------------------------------------------------------------===##
2
+ # #
3
+ # # This source file is part of the Swift.org open source project
4
+ # #
5
+ # # Copyright (c) 2024 Apple Inc. and the Swift project authors
6
+ # # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ # #
8
+ # # See https://swift.org/LICENSE.txt for license information
9
+ # # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ # #
11
+ # #===----------------------------------------------------------------------===##
1
12
. $PSScriptRoot \install-swift.ps1
2
13
3
14
$SWIFT_RELEASE_METADATA = ' http://download.swift.org/swift-6.0-branch/windows10/latest-build.json'
Original file line number Diff line number Diff line change
1
+ # #===----------------------------------------------------------------------===##
2
+ # #
3
+ # # This source file is part of the Swift.org open source project
4
+ # #
5
+ # # Copyright (c) 2024 Apple Inc. and the Swift project authors
6
+ # # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ # #
8
+ # # See https://swift.org/LICENSE.txt for license information
9
+ # # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ # #
11
+ # #===----------------------------------------------------------------------===##
1
12
. $PSScriptRoot \install-swift.ps1
2
13
3
14
$SWIFT_RELEASE_METADATA = ' http://download.swift.org/development/windows10/latest-build.json'
Original file line number Diff line number Diff line change
1
+ # #===----------------------------------------------------------------------===##
2
+ # #
3
+ # # This source file is part of the Swift.org open source project
4
+ # #
5
+ # # Copyright (c) 2024 Apple Inc. and the Swift project authors
6
+ # # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ # #
8
+ # # See https://swift.org/LICENSE.txt for license information
9
+ # # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ # #
11
+ # #===----------------------------------------------------------------------===##
1
12
function Install-Swift {
2
13
param (
3
14
[string ]$Url ,
You can’t perform that action at this time.
0 commit comments