mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-26 13:23:05 +07:00
Debug
This commit is contained in:
parent
831e0d4070
commit
993f819e3d
@ -8,7 +8,7 @@ Write-Host "Found '$dotnet'"
|
||||
|
||||
$version = & $dotnet --version | Out-String | ForEach-Object { $_.Trim() }
|
||||
Write-Host "Version $version"
|
||||
if ($version -ne $args[0])
|
||||
if ($version -contains $args[0])
|
||||
{
|
||||
Write-Host "PATH='$env:path'"
|
||||
throw "Unexpected version"
|
||||
|
Loading…
Reference in New Issue
Block a user