Updates the GitHub actions primarily to avoid the undocumented maven.multiModuleProjectDirectory variable.
This variable is only used in the mvn script and is neither documented nor intended for public used (internal implementation detail). So I strongly recommend not to use it. Otherwise things might break in the future.
Additionally, versions of used GitHub actions are updated.
As of setup-java@v2 the Java distribution needs to be specified. I chose to preserve the default value of v1 which was Zulu but I am open for discussion to use other Java distributions.
Updates the GitHub actions primarily to avoid the undocumented
maven.multiModuleProjectDirectory
variable.Quote source
Additionally, versions of used GitHub actions are updated. As of
setup-java@v2
the Java distribution needs to be specified. I chose to preserve the default value of v1 which wasZulu
but I am open for discussion to use other Java distributions.