mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 07:46:57 +00:00
[Windows] Rename and refactor downloading function (#8906)
This commit is contained in:
committed by
GitHub
parent
bfe32a2b12
commit
7dba8776df
@@ -104,7 +104,7 @@ foreach ($rubyVersion in $rubyToolVersions) {
|
||||
# Get url for the latest major Ruby version
|
||||
$url = $rubyLatestMajorVersions[$rubyVersion]
|
||||
if ($url) {
|
||||
$tempRubyPackagePath = Start-DownloadWithRetry -Url $url
|
||||
$tempRubyPackagePath = Invoke-DownloadWithRetry $url
|
||||
Install-Ruby -PackagePath $tempRubyPackagePath
|
||||
} else {
|
||||
Write-Host "Url not found for the '$rubyVersion' version"
|
||||
|
||||
Reference in New Issue
Block a user