You've already forked setup-dotnet
mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-31 09:54:08 +07:00
Honor specified nuget file location (#109)
* Honor specified nuget file location * Generate and verify nuget.config
This commit is contained in:
@ -3,6 +3,11 @@ if (!$args[0])
|
||||
throw "Must supply dotnet version argument"
|
||||
}
|
||||
|
||||
if (-Not (Test-Path "../nuget.config"))
|
||||
{
|
||||
throw "nuget file not generated correctly"
|
||||
}
|
||||
|
||||
$dotnet = Get-Command dotnet | Select-Object -First 1 | ForEach-Object { $_.Path }
|
||||
Write-Host "Found '$dotnet'"
|
||||
|
||||
|
Reference in New Issue
Block a user