mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 14:26:48 +00:00
[ubuntu] Fix arch in Install-Toolset.ps1 (#9598)
This commit is contained in:
committed by
GitHub
parent
65e1bb9ff5
commit
41ad29f9c9
@@ -39,7 +39,7 @@ foreach ($tool in $tools) {
|
||||
foreach ($toolVersion in $tool.versions) {
|
||||
$asset = $assets | Where-Object version -like $toolVersion `
|
||||
| Select-Object -ExpandProperty files `
|
||||
| Where-Object { ($_.platform -eq $tool.platform) -and ($_.platform_version -eq $tool.platform_version)} `
|
||||
| Where-Object { ($_.platform -eq $tool.platform) -and ($_.arch -eq $tool.arch) -and ($_.platform_version -eq $tool.platform_version)} `
|
||||
| Select-Object -First 1
|
||||
|
||||
if (-not $asset) {
|
||||
|
||||
Reference in New Issue
Block a user