From 20aaa59fb3bcd8e47e770db8666e416c23ad9e88 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 3 May 2022 20:38:24 +0800 Subject: [PATCH] ci(MinGW): run pacman -Syu twice (#18384) --- ci/build.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/build.ps1 b/ci/build.ps1 index c7c3b3d470..533e5804c9 100644 --- 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') {