Initialize mingw for the runner's user

This commit is contained in:
Chris Denton
2025-07-19 22:05:25 +00:00
parent f63685ddf3
commit db1449aed5
2 changed files with 5 additions and 5 deletions
+5
View File
@@ -43,4 +43,9 @@ if isWindows && isKnownToBeMingwBuild; then
curl -o mingw.7z "${MIRRORS_BASE}/${mingw_archive}"
7z x -y mingw.7z > /dev/null
ciCommandAddPath "$(cygpath -m "$(pwd)/${mingw_dir}/bin")"
# Initialize mingw for the user.
# This should be done by github but isn't for some reason.
# (see https://github.com/actions/runner-images/issues/12600)
/c/msys64/usr/bin/bash -lc ' '
fi