mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Switch Expand-Archive to 7zip on Windows image generation (#861)
* switch expand-archive to 7zip on windows
This commit is contained in:
committed by
GitHub
parent
ffa2110464
commit
3e9c8e5afc
@@ -22,7 +22,7 @@ Install-Binary -Url $InstallerURI -Name $InstallerName -ArgumentList $ArgumentLi
|
||||
$mysqlArchPath = Start-DownloadWithRetry -Url $MysqlVersionUrl -Name "mysql.zip"
|
||||
|
||||
# Expand the zip
|
||||
Expand-Archive -Path $mysqlArchPath -DestinationPath "C:\" -Force
|
||||
Extract-7Zip -Path $mysqlArchPath -DestinationPath "C:\"
|
||||
|
||||
# Adding mysql in system environment path
|
||||
Add-MachinePathItem $mysqlPath
|
||||
Reference in New Issue
Block a user