From 3868c8db6fde16e1e1bbc3364c6e0ae614ec615c Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 3 May 2022 14:52:18 +0800 Subject: [PATCH] ci(MinGW): run pacman -Syu twice (cherry picked from commit d4994a4e0fa4feac670a7c49e1a05b9ef45f6943) --- 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') {