mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 19:41:08 +07:00
Minor fix
This commit is contained in:
parent
843b5197ce
commit
6ade6c061b
@ -8,11 +8,11 @@ $windowsDotnetPaths = @("$env:LocalAppData\Microsoft\dotnet/*", "$env:ProgramFil
|
|||||||
|
|
||||||
$pathsToClear = @()
|
$pathsToClear = @()
|
||||||
|
|
||||||
if ($os -eq "linux") {
|
if ($os -eq "Linux") {
|
||||||
$pathsToClear = $linuxDotnetPaths
|
$pathsToClear = $linuxDotnetPaths
|
||||||
} elseif ($os -eq "macOS") {
|
} elseif ($os -eq "macOS") {
|
||||||
$pathsToClear = $macOSDotnetPaths
|
$pathsToClear = $macOSDotnetPaths
|
||||||
} elseif ($os -eq "windows") {
|
} elseif ($os -eq "Windows") {
|
||||||
$pathsToClear = $windowsDotnetPaths
|
$pathsToClear = $windowsDotnetPaths
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user