ci(MinGW): run pacman -Syu twice

This commit is contained in:
zeertzjq 2022-05-03 14:52:18 +08:00
parent 13520aae16
commit d4994a4e0f

View File

@ -73,6 +73,8 @@ if ($compiler -eq 'MINGW') {
# Build third-party dependencies
C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm -Syu" ; exitIfFailed
# Update again in case updating pacman changes pacman.conf
C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm -Syu" ; exitIfFailed
C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm --needed -S $mingwPackages" ; exitIfFailed
}
elseif ($compiler -eq 'MSVC') {