diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-02 07:07:35 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-02 10:55:43 +0100 |
commit | 5f59ed70b3a2f197fdbac50e679e66e69b179060 (patch) | |
tree | 88ea8f883400ac41e46e6137f5391f2782018924 | |
parent | actions/build-example: set-output is deprecated (diff) | |
download | cmake-common-5f59ed70b3a2f197fdbac50e679e66e69b179060.tar.gz cmake-common-5f59ed70b3a2f197fdbac50e679e66e69b179060.zip |
actions/check-runtime-library: msvcrt.dll -> ucrtbase.dll
-rw-r--r-- | .github/actions/check-runtime-library/action.yml | 7 |
1 files changed, 6 insertions, 1 deletions
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. |