mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
[windows] Improve MSYS2 installation (#3652)
This commit is contained in:
@@ -79,13 +79,12 @@ foreach ($arch in $archs)
|
||||
Write-Host "`n$dash Clean packages"
|
||||
pacman.exe -Scc --noconfirm
|
||||
|
||||
Write-Host "`n$dash Installed msys2 packages"
|
||||
pacman.exe -Q | grep -v ^mingw-w64-
|
||||
$pkgs = pacman.exe -Q
|
||||
|
||||
foreach ($arch in $archs)
|
||||
{
|
||||
Write-Host "`n$dash Installed $arch packages"
|
||||
pacman.exe -Q | grep ^${arch}-
|
||||
$pkgs | grep ^${arch}-
|
||||
}
|
||||
|
||||
$env:PATH = $origPath
|
||||
|
||||
Reference in New Issue
Block a user