Merge pull request #54 from actions/miketimofeev-patch-1

Change macOS toolset to version 12 in xamarin parser
pull/55/head
Mikhail Timofeev 3 years ago committed by GitHub
commit 56f47ea626
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