msys2 / setup-msys2

GitHub Action to setup MSYS2
https://github.com/marketplace/actions/setup-msys2
MIT License
282 stars 37 forks source link

Shell not respecting system flag #386

Open diehard2 opened 1 month ago

diehard2 commented 1 month ago

The action below return

MINGW64

instead of UCRT64. The documentation indicates that should not be the case. Apologies if I missed something

       - uses: msys2/setup-msys2@v2
         with:
           release: false
           system: UCRT64
           install: >-
                    mingw-w64-ucrt-x86_64-qt6
                    base-devel
                    mingw-w64-ucrt-x86_64-toolchain
                    mingw-w64-ucrt-x86_64-extra-cmake-modules
                    zip
       - shell: msys2 {0}
         run: |
                echo $MSYSTEM
mmuetzel commented 1 month ago

Afaict, that should be msystem: UCRT64 instead of system: UCRT64.