mirror of
https://github.com/actions/runner-images.git
synced 2026-01-05 17:50:02 +08:00
Update PyPy to 7.3.4 on Windows (change platform format) (#3189)
* Update PyPy to 7.3.4 on Windows (change platform format) * Update SoftwareReport.CachedTools.psm1 * Update Install-PyPy.ps1 * Update SoftwareReport.CachedTools.psm1
This commit is contained in:
@@ -89,7 +89,9 @@ foreach($pypyTool in $pypyTools)
|
||||
foreach($pypyVersion in $pypyTool.versions)
|
||||
{
|
||||
# Query latest PyPy version
|
||||
$filter = '{0}{1}-v\d+\.\d+\.\d+-{2}.zip' -f $pypyTool.name, $pypyVersion, $pypyTool.platform
|
||||
# PyPy 3.6 is not updated anymore and win32 should be used
|
||||
$platform = if ($pypyVersion -like "3.6*") { "win32" } else { $pypyTool.platform }
|
||||
$filter = '{0}{1}-v\d+\.\d+\.\d+-{2}.zip' -f $pypyTool.name, $pypyVersion, $platform
|
||||
$latestMajorPyPyVersion = $pypyVersions | Where-Object {$_.name -match $filter} | Select-Object -First 1
|
||||
|
||||
if ($latestMajorPyPyVersion)
|
||||
|
||||
@@ -61,7 +61,6 @@ function Get-PyPyMarkdown
|
||||
|
||||
$Content = $ToolInstances | New-MDTable -Columns ([ordered]@{
|
||||
"Python Version" = "left";
|
||||
Architecture = "left";
|
||||
"PyPy Version" = "left"
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user