Skip to content

Commit 1314e67

Browse files
committed
grpc-tools: build: Fix Windows build by skipping installing NuGet
1 parent 3950a1c commit 1314e67

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/grpc-tools/build_binaries.ps1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ $ErrorActionPreference = "Stop"
1919
<# https://stackoverflow.com/questions/16657778/install-nuget-via-powershell-script/26421187#comment107976901_48216538 #>
2020

2121
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls11,Tls12'
22-
23-
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
24-
Import-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201
2522
Install-Module -Force -Name 7Zip4Powershell
2623

2724
$env:Path += ";C:\Program Files\CMake\bin"
@@ -72,4 +69,4 @@ Copy-Item ($Base + "/Debug/grpc_node_plugin.exe") -Destination ($Base + "/build/
7269
Compress-7Zip -Path ($Base + "/build") -Format Tar -ArchiveFileName ($Base + "/Archive.tar")
7370
Compress-7Zip -Path ($Base + "/Archive.tar") -Format GZip -ArchiveFileName ($OutDir + "/win32-" + $Arch + ".tar.gz")
7471

75-
& git clean -xdf .
72+
& git clean -xdf .

0 commit comments

Comments
 (0)