mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[Windows] Update helper name to Expand-7ZipArchive (#8875)
* [Windows] Update helper name to Expand-7ZipArchive * Fix typo
This commit is contained in:
committed by
GitHub
parent
64d5d2c1f4
commit
6efbc46fc7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user