mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
rework ruby installation
This commit is contained in:
@@ -62,12 +62,6 @@ function Test-DefaultVersion {
|
||||
}
|
||||
|
||||
$tools = Get-ToolsetContent | Select-Object -ExpandProperty toolcache
|
||||
# convert old tool-cache to toolset format on-flight to re-use code
|
||||
(Get-ToolcachePackages).PSObject.Properties | ForEach-Object {
|
||||
$packageNameParts = $_.Name.Split("-")
|
||||
$tools += @{ name = $packageNameParts[1]; arch = $packageNameParts[3]; versions = $_.Value; default = "." }
|
||||
}
|
||||
|
||||
foreach ($tool in $tools) {
|
||||
Describe "$($tool.name) [$($tool.arch)]" {
|
||||
$toolExecs = Get-ToolExecutables -Name $tool.name
|
||||
|
||||
Reference in New Issue
Block a user