jurplel / install-qt-action

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

MSVC build started failing yesterday #103

Closed leuat closed 3 years ago

leuat commented 3 years ago

MSVC install started failing yesterday - macx/linux/mingw still seems to work.. any idea? has there been any changes?

Screenshot 2021-08-29 at 22 52 31
leuat commented 3 years ago

since this seems to happen quite often recently, is there a way to specify install the latest package? or else I'll constantly have to follow up with investigating why github action builds suddenly fail because there has been a bump from some qt package from 4.15.1 to 4.15.2 etc..

leuat commented 3 years ago

script: https://github.com/leuat/TRSE/blob/master/.github/workflows/win32-msvc.yml

leuat commented 3 years ago

again, this script has worked flawlessly until yesterday. If I change the version of qt creator to 5.0.0, it gets installed - but now jom.exe etc can't be found

Screenshot 2021-08-29 at 23 03 16

any hints would be helpful - as I have several users who are waiting for some new features!

pzhlkj6612 commented 3 years ago

Hi.

... is there a way to specify install the latest package?

This function has been implemented in miurahr/aqtinstall#299 and it will be in the version of 2.0.0. This action (install-qt-action) is a CI wrapper of aqtinstall, so jurplel and us couldn't do anything but wait until the new version is released.

For now, you'd have to modify the version string yourself.

pzhlkj6612 commented 3 years ago

Speaking of Jom. I have no idea why it is not embedded in Qt Creator 5, but I think you can install it by two ways:

And, don't forget NMAKE.

leuat commented 3 years ago

fixed!

luckily we don't need to download jom manually, as the file was simply moved from bin/jom.exe to bin/jom/jom.exe in qt creator 5.0.0. Nice to know for future users! Sorry for all the nagging. I really appreciate install-qt-action, and cannot live without my nightly automatic builds.

pzhlkj6612 commented 3 years ago

is there no way to go back and add support for 4.15 again?

No, there isn't.

It's not about install-qt-action or aqtinstall, but Qt itself. For some components, such as Qt Creator and Qt Installer Framework (IFW), Qt guys will remove the old binary package from their website when a new version is released.

and, will the same issue occur soon with macos/linux/mingw as well?

I don't know, but I think it depends on what component you use. And as I said in the previous reply, after the release of aqtinstall 2.0.0, this symptom should be relieved.

luckily we don't need to download jom manually, as the file was simply moved from bin/jom.exe to bin/jom/jom.exe in qt creator 5.0.0.

Good to know this, thank you!

jurplel commented 3 years ago

Thanks for the help @pzhlkj6612

pzhlkj6612 commented 3 years ago

There is a feature request for downloading the old version of Qt Creator: https://github.com/miurahr/aqtinstall/issues/383 .