mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 03:13:23 +00:00
Merge pull request #62 from erik-bershel/rename-VE-to-RI
Rename 'virtual-environments' repo to 'runner-images'
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Common tools for generation of packages in the actions/*-versions repositories
|
# Common tools for generation of packages in the actions/*-versions repositories
|
||||||
This repository contains PowerShell modules that are used to generate packages for Actions. The packages are consumed by the images generated through [actions/virtual-environments](https://github.com/actions/virtual-environments) and some of the setup-* Actions
|
This repository contains PowerShell modules that are used to generate packages for Actions. The packages are consumed by the images generated through [actions/runner-images](https://github.com/actions/runner-images) and some of the setup-* Actions
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure
|
Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function Search-ToolsVersionsNotOnImage {
|
|||||||
$_.$FilterParameter.split(".")[0,1] -join"."
|
$_.$FilterParameter.split(".")[0,1] -join"."
|
||||||
}
|
}
|
||||||
} | Select-Object -Unique
|
} | Select-Object -Unique
|
||||||
$toolsetUrl = "https://raw.githubusercontent.com/actions/virtual-environments/main/images/win/toolsets/toolset-2022.json"
|
$toolsetUrl = "https://raw.githubusercontent.com/actions/runner-images/main/images/win/toolsets/toolset-2022.json"
|
||||||
$latestMinorVersion = (Invoke-RestMethod $toolsetUrl).toolcache |
|
$latestMinorVersion = (Invoke-RestMethod $toolsetUrl).toolcache |
|
||||||
Where-Object {$_.name -eq $ToolName -and $_.arch -eq $FilterArch} |
|
Where-Object {$_.name -eq $ToolName -and $_.arch -eq $FilterArch} |
|
||||||
ForEach-Object {$_.versions.Replace("*","0")} |
|
ForEach-Object {$_.versions.Replace("*","0")} |
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ function Search-XamarinVersionsNotOnImage {
|
|||||||
|
|
||||||
$xamarinReleases = (Invoke-RestMethod $ReleasesUrl).items
|
$xamarinReleases = (Invoke-RestMethod $ReleasesUrl).items
|
||||||
$filteredReleases = $xamarinReleases | Where-Object {$_.name -in $FilterProducts.name} | Sort-Object name | Select-Object name, version
|
$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-12.json"
|
$toolsetUrl = "https://raw.githubusercontent.com/actions/runner-images/main/images/macos/toolsets/toolset-12.json"
|
||||||
$uploadedReleases = (Invoke-RestMethod $toolsetUrl).xamarin
|
$uploadedReleases = (Invoke-RestMethod $toolsetUrl).xamarin
|
||||||
$releasesOnImage = @()
|
$releasesOnImage = @()
|
||||||
foreach ($FilterProduct in $FilterProducts) {
|
foreach ($FilterProduct in $FilterProducts) {
|
||||||
|
|||||||
Reference in New Issue
Block a user