From b8e79c3d168daaec40798dcabc5f0f346655d02f Mon Sep 17 00:00:00 2001 From: Erik Bershel <110455084+erik-bershel@users.noreply.github.com> Date: Mon, 26 Dec 2022 13:23:01 +0100 Subject: [PATCH] Rename 'virtual-environments' repo to 'runner-images' --- README.md | 2 +- .../verify-added-to-image/verify-common-tool-parser.psm1 | 2 +- .../parsers/verify-added-to-image/verify-xamarin-parser.psm1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d9d6ccf..b224ad7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # 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 Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure diff --git a/get-new-tool-versions/parsers/verify-added-to-image/verify-common-tool-parser.psm1 b/get-new-tool-versions/parsers/verify-added-to-image/verify-common-tool-parser.psm1 index 977ad12..e51f29d 100644 --- a/get-new-tool-versions/parsers/verify-added-to-image/verify-common-tool-parser.psm1 +++ b/get-new-tool-versions/parsers/verify-added-to-image/verify-common-tool-parser.psm1 @@ -16,7 +16,7 @@ function Search-ToolsVersionsNotOnImage { $_.$FilterParameter.split(".")[0,1] -join"." } } | 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 | Where-Object {$_.name -eq $ToolName -and $_.arch -eq $FilterArch} | ForEach-Object {$_.versions.Replace("*","0")} | diff --git a/get-new-tool-versions/parsers/verify-added-to-image/verify-xamarin-parser.psm1 b/get-new-tool-versions/parsers/verify-added-to-image/verify-xamarin-parser.psm1 index c78adce..b127b69 100644 --- a/get-new-tool-versions/parsers/verify-added-to-image/verify-xamarin-parser.psm1 +++ b/get-new-tool-versions/parsers/verify-added-to-image/verify-xamarin-parser.psm1 @@ -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-12.json" + $toolsetUrl = "https://raw.githubusercontent.com/actions/runner-images/main/images/macos/toolsets/toolset-12.json" $uploadedReleases = (Invoke-RestMethod $toolsetUrl).xamarin $releasesOnImage = @() foreach ($FilterProduct in $FilterProducts) {