commit 20aaa59fb3bcd8e47e770db8666e416c23ad9e88
parent 8ea84eee570fd1ec560fe149e611d10034d9a223
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue, 3 May 2022 20:38:24 +0800
ci(MinGW): run pacman -Syu twice (#18384)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/ci/build.ps1 b/ci/build.ps1
@@ -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') {