[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

@@ -21,7 +21,7 @@ function Install-PyPy
# Expand archive with binaries
$packageName = [IO.Path]::GetFileNameWithoutExtension((Split-Path -Path $packagePath -Leaf))
$tempFolder = Join-Path -Path $pypyToolcachePath -ChildPath $packageName
Extract-7Zip -Path $packagePath -DestinationPath $pypyToolcachePath
Expand-7ZipArchive -Path $packagePath -DestinationPath $pypyToolcachePath
# Get Python version from binaries
$pypyApp = Get-ChildItem -Path "$tempFolder\pypy*.exe" | Where-Object Name -match "pypy(\d+)?.exe" | Select-Object -First 1