mirror of https://github.com/grpc/grpc-node.git
Fix package installation in grpc-tools build script
This commit is contained in:
parent
e4a3fb6338
commit
dfacfae2b2
|
@ -16,6 +16,10 @@
|
||||||
|
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
|
<# https://stackoverflow.com/questions/16657778/install-nuget-via-powershell-script/26421187#comment107976901_48216538 #>
|
||||||
|
|
||||||
|
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls11,Tls12'
|
||||||
|
|
||||||
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
|
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
|
||||||
Import-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201
|
Import-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201
|
||||||
Install-Module -Force -Name 7Zip4Powershell
|
Install-Module -Force -Name 7Zip4Powershell
|
||||||
|
|
Loading…
Reference in New Issue