From 5f59ed70b3a2f197fdbac50e679e66e69b179060 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 2 Jan 2023 07:07:35 +0100 Subject: actions/check-runtime-library: msvcrt.dll -> ucrtbase.dll --- .github/actions/check-runtime-library/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.github/actions/check-runtime-library') diff --git a/.github/actions/check-runtime-library/action.yml b/.github/actions/check-runtime-library/action.yml index 3025334..9a572b8 100644 --- a/.github/actions/check-runtime-library/action.yml +++ b/.github/actions/check-runtime-library/action.yml @@ -121,7 +121,12 @@ runs: $windows_required = @('KERNEL32.dll') if ($env:CI_MINGW) { - $windows_required += 'msvcrt.dll' + if ($env:CI_HOST_WINDOWS) { + # This is only true for windows-2022 images. + $windows_required += 'ucrtbase.dll' + } else { + $windows_required += 'msvcrt.dll' + } } # Linking libstdc++ statically on Cygwin is broken, see the # cygwin_static_libstdc++.yml workflow. -- cgit v1.2.3