mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-06-06 18:17:08 +00:00
Debug
This commit is contained in:
parent
831e0d4070
commit
993f819e3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue