test: set up NuGet in advance

This commit is contained in:
Parkreiner
2024-06-28 16:51:03 +00:00
parent 05a20a9e1f
commit f82c7fd7a1

View File

@@ -62,6 +62,7 @@ resource "coder_script" "windows-rdp" {
# Install the module with the specified version for all users
# This requires administrator privileges
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name $moduleName -RequiredVersion $moduleVersion -Force
# Construct the module path for system-wide installation