From 1314e67d1692a76dc7d160d7f517e49313df7278 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Thu, 11 Sep 2025 11:25:47 -0700 Subject: [PATCH] grpc-tools: build: Fix Windows build by skipping installing NuGet --- packages/grpc-tools/build_binaries.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/grpc-tools/build_binaries.ps1 b/packages/grpc-tools/build_binaries.ps1 index 629aea266..9c89046c5 100644 --- a/packages/grpc-tools/build_binaries.ps1 +++ b/packages/grpc-tools/build_binaries.ps1 @@ -19,9 +19,6 @@ $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 -Import-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 Install-Module -Force -Name 7Zip4Powershell $env:Path += ";C:\Program Files\CMake\bin" @@ -72,4 +69,4 @@ Copy-Item ($Base + "/Debug/grpc_node_plugin.exe") -Destination ($Base + "/build/ Compress-7Zip -Path ($Base + "/build") -Format Tar -ArchiveFileName ($Base + "/Archive.tar") Compress-7Zip -Path ($Base + "/Archive.tar") -Format GZip -ArchiveFileName ($OutDir + "/win32-" + $Arch + ".tar.gz") -& git clean -xdf . \ No newline at end of file +& git clean -xdf .