mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-11-05 10:46:28 +00:00
Minor fix
This commit is contained in:
1 parent
843b5197ce
commit
6ade6c061b
1 file changed
+2
-2
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user