[Windows] Update helper name to Expand-7ZipArchive (#8875)

* [Windows] Update helper name to Expand-7ZipArchive

* Fix typo
This commit is contained in:
Vasilii Polikarpov
2023-11-23 11:59:49 +01:00
committed by GitHub
parent 64d5d2c1f4
commit 6efbc46fc7
20 changed files with 28 additions and 28 deletions

View File

@@ -48,7 +48,7 @@ function Install-Ruby {
# Expand archive with binaries
$packageName = [IO.Path]::GetFileNameWithoutExtension((Split-Path -Path $PackagePath -Leaf))
$tempFolder = Join-Path -Path $rubyToolcachePath -ChildPath $packageName
Extract-7Zip -Path $PackagePath -DestinationPath $rubyToolcachePath
Expand-7ZipArchive -Path $PackagePath -DestinationPath $rubyToolcachePath
# Get Ruby version from binaries
$rubyVersion = & "$tempFolder\bin\ruby.exe" -e "print RUBY_VERSION"