Update verify-xamarin-parser.psm1

miketimofeev-patch-1
Mikhail Timofeev 3 years ago committed by GitHub
parent 31f01aedc7
commit c3143dd446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ function Search-XamarinVersionsNotOnImage {
$xamarinReleases = (Invoke-RestMethod $ReleasesUrl).items
$filteredReleases = $xamarinReleases | Where-Object {$_.name -in $FilterProducts.name} | Sort-Object name | Select-Object name, version
$toolsetUrl = "https://raw.githubusercontent.com/actions/virtual-environments/main/images/macos/toolsets/toolset-11.json"
$toolsetUrl = "https://raw.githubusercontent.com/actions/virtual-environments/main/images/macos/toolsets/toolset-12.json"
$uploadedReleases = (Invoke-RestMethod $toolsetUrl).xamarin
$releasesOnImage = @()
foreach ($FilterProduct in $FilterProducts) {
@ -16,4 +16,4 @@ function Search-XamarinVersionsNotOnImage {
'{0,-15} : {1}' -f $_.name, $_.version
}
return $versionsToAdd
}
}

Loading…
Cancel
Save