Skip to content

Commit 76a2a58

Browse files
Add package management bootstrap
1 parent b877c27 commit 76a2a58

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tools/releaseBuild/yaml/upload.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ parameters:
55
steps:
66

77
- powershell: |
8-
Install-Module PowerShellGet -RequiredVersion 2.2.5 -SkipPublisherCheck
8+
[System.Net.ServicePointManager]::SecurityProtocol =
9+
[System.Net.ServicePointManager]::SecurityProtocol -bor
10+
[System.Security.Authentication.SslProtocols]::Tls12 -bor
11+
[System.Security.Authentication.SslProtocols]::Tls11
12+
13+
Get-PackageProvider -Name NuGet -ForceBootstrap
14+
Install-Module PowerShellGet -RequiredVersion 2.2.5 -SkipPublisherCheck -Force
915
displayName: Update PowerShell Get
1016

1117
- powershell: |

0 commit comments

Comments
 (0)