Skip to content

Commit f650a38

Browse files
committed
download artifacts: force TLS1.2
1 parent 6d3f3d8 commit f650a38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

download.build.artifacts.and.package.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Set-StrictMode -Version Latest
77
$ErrorActionPreference = "Stop"
88

99
function Invoke-RestMethod-Ex($url, $downloadLocation) {
10+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
1011

1112
$irmParams = @{
1213
}

0 commit comments

Comments
 (0)