jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
459 stars 78 forks source link

install-qt-action pollutes environment on Windows with Python-3.10 #117

Closed jeremysanders closed 2 years ago

jeremysanders commented 2 years ago

install-qt-action or one of its dependencies broke by github action build today. It seems to have brought Python 3.10 into the environment, which overrode the Python 3.9 I was using in my build. I had placed actions/setup-python@v2 before install-qt-action. I've fixed it by swapping the order of the two actions. (It broke my build because the packages I used were not available for Python 3.10).

Is there any way to may install-qt-action not pollute the environment with Python?

jurplel commented 2 years ago

Give it setup-python: false

pzhlkj6612 commented 2 years ago

FYI, there is a problem of the dependent components of aqtinstall (the core function of this action) in Python 3.10. It has been reported in https://github.com/miurahr/aqtinstall/issues/423 . Please check it.

jeremysanders commented 2 years ago

Thanks very much for your help. It seems to work fine with setup-python: false. Python 3.10 was working for me, but I had setup the compiler environment, so maybe this fixed it. Anyway, now I have everything with Python 3.9 until my dependencies all work.