mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-06-06 06:17:12 +00:00
Debug
This commit is contained in:
parent
76a91b1af8
commit
347456b934
1 changed files with 7 additions and 1 deletions
|
|
@ -24,4 +24,10 @@ foreach ($path in $pathsToClear) {
|
|||
}
|
||||
}
|
||||
|
||||
Get-Command "dotnet --info"
|
||||
try {
|
||||
Get-Command "dotnet --info"
|
||||
Write-Host "dotnet was not removed"
|
||||
exit 1
|
||||
} catch {
|
||||
Write-Host "dotnet was removed successfully"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue