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 .