GitHub action seems to always download Java 19 even though it is already downloaded and installed. This could also help with running the CodeQL action.