Hopefully fix msys2 workflows

Apparently updating msys2 causes it to exit completely, great.
This commit is contained in:
Tamás Bálint Misius 2024-01-20 23:32:51 +01:00
parent 5eb5383f08
commit 5e60b53a3b
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2
2 changed files with 3 additions and 1 deletions

2
.github/build.sh vendored
View File

@ -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

View File

@ -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'