diff --git a/.github/build.sh b/.github/build.sh index 210ea406d..9e410847f 100755 --- a/.github/build.sh +++ b/.github/build.sh @@ -70,7 +70,7 @@ if [[ -z ${BSH_NO_PACKAGES-} ]]; then ;; windows) if [[ $BSH_BUILD_PLATFORM-$BSH_HOST_LIBC == windows-mingw ]]; then - pacman -Syu --noconfirm --needed mingw-w64-ucrt-x86_64-gcc + pacman -S --noconfirm --needed mingw-w64-ucrt-x86_64-gcc if [[ $BSH_STATIC_DYNAMIC == static ]]; then pacman -S --noconfirm --needed mingw-w64-ucrt-x86_64-{cmake,7zip} patch else diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8dbfd5cc8..8eb7f0a31 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -59,6 +59,8 @@ jobs: - uses: actions/checkout@v3 - if: matrix.force_msys2_bash == 'yes' run: bash -c './.github/force-msys2-bash.sh' + - if: matrix.force_msys2_bash == 'yes' + run: bash -c 'pacman -Syu --noconfirm' - uses: actions/setup-python@v4 with: python-version: '3.10'