[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

@@ -19,10 +19,10 @@ Function Install-Asset {
Write-Host "Extract $($ReleaseAsset.filename) content..."
if ($assetArchivePath.EndsWith(".tar.gz")) {
$assetTarPath = $assetArchivePath.TrimEnd(".tar.gz")
Extract-7Zip -Path $assetArchivePath -DestinationPath $assetTarPath
Extract-7Zip -Path $assetTarPath -DestinationPath $assetFolderPath
Expand-7ZipArchive -Path $assetArchivePath -DestinationPath $assetTarPath
Expand-7ZipArchive -Path $assetTarPath -DestinationPath $assetFolderPath
} else {
Extract-7Zip -Path $assetArchivePath -DestinationPath $assetFolderPath
Expand-7ZipArchive -Path $assetArchivePath -DestinationPath $assetFolderPath
}
Write-Host "Invoke installation script..."
@@ -55,4 +55,4 @@ foreach ($tool in $tools) {
exit 1
}
}
}
}