diff options
Diffstat (limited to '.github/actions/check-runtime-library/action.yml')
-rw-r--r-- | .github/actions/check-runtime-library/action.yml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/actions/check-runtime-library/action.yml b/.github/actions/check-runtime-library/action.yml index 9a572b8..9d4be5e 100644 --- a/.github/actions/check-runtime-library/action.yml +++ b/.github/actions/check-runtime-library/action.yml @@ -121,11 +121,8 @@ runs: $windows_required = @('KERNEL32.dll') if ($env:CI_MINGW) { - if ($env:CI_HOST_WINDOWS) { - # This is only true for windows-2022 images. - $windows_required += 'ucrtbase.dll' - } else { - $windows_required += 'msvcrt.dll' + if (!$env:CI_HOST_WINDOWS) { + $windows_required += @('msvcrt.dll') } } # Linking libstdc++ statically on Cygwin is broken, see the |