mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-06-06 21:17:08 +00:00
Debug
This commit is contained in:
parent
45c0959fcd
commit
53b5bae1f6
1 changed files with 1 additions and 9 deletions
|
|
@ -20,14 +20,6 @@ if ($os -eq "Linux") {
|
|||
foreach ($path in $pathsToClear) {
|
||||
if (Test-Path $path) {
|
||||
Write-Host "Clear $path path"
|
||||
# Remove-Item $path -Recurse -Force
|
||||
Remove-Item $path -Recurse -Force
|
||||
}
|
||||
}
|
||||
|
||||
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