Skip to content

Commit

Permalink
fix packagesConfigPath in nuget-install-wdk.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
svasista-ms committed Oct 16, 2024
1 parent a350aa5 commit 5868673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/nuget-install-wdk.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Write-Host "Installing WDK version $wdkVersion"
Write-Host "Major version number: $majorVersionNum"

# Update the packages.config file with the version passed as parameter
$packagesConfigPath = "C:\WDK.config"
$packagesConfigPath = ".\packages.config"

if (Test-Path $packagesConfigPath) {
[xml]$packagesConfig = Get-Content $packagesConfigPath
Expand All @@ -26,7 +26,7 @@ if (Test-Path $packagesConfigPath) {
Write-Error "packages.config file not found"
}

# Install NuGet
# Install WDK using NuGet
try {
nuget restore .\packages.config -PackagesDirectory C:\WDK
Write-Host "WDK installed at C:\WDK"
Expand Down

0 comments on commit 5868673

Please sign in to comment.