We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a354c6 commit ddcb106Copy full SHA for ddcb106
1 file changed
build.ps1
@@ -24,6 +24,10 @@ trap {
24
if (-not (Test-Path "$PSScriptRoot/build")) {
25
New-Item -Path "$PSScriptRoot/build" -ItemType "directory"
26
}
27
+
28
+# Enable TLS 1.2 since GitHub requires it.
29
+[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
30
31
wget -UseBasicParsing -Uri "https://raw.githubusercontent.com/NuGet/ServerCommon/$BuildBranch/build/init.ps1" -OutFile "$PSScriptRoot/build/init.ps1"
32
. "$PSScriptRoot/build/init.ps1" -BuildBranch "$BuildBranch"
33
0 commit comments