mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-22 00:20:20 +00:00
remove cmdlet
This commit is contained in:
parent
e077aa83c8
commit
395fcadf33
@ -20,7 +20,7 @@ if($args.count -eq 1)
|
||||
if ($args[1])
|
||||
{
|
||||
# SDKs are listed on multiple lines with the path afterwards in square brackets
|
||||
$versions = & $dotnet --list-sdks select -Unique | ForEach-Object { $_.SubString(0, $_.IndexOf('[')).Trim() }
|
||||
$versions = & $dotnet --list-sdks | ForEach-Object { $_.SubString(0, $_.IndexOf('[')).Trim() }
|
||||
Write-Host "Installed versions: $versions"
|
||||
$InstalledVersionCount = 0
|
||||
foreach($arg in $args){
|
||||
|
Loading…
x
Reference in New Issue
Block a user