actions/setup-java uses the latest Maven version. It does not appear to have a setting to pin this to a specific version (they have an issue about this actions/setup-java#40). In reality, they say it uses whichever version is installed on the runner (not sure how to control that).
There are other 'setup-maven' type actions on the marketplace which may allow this. Although I am a bit cautious about using a random user's GitHub action over a more standard pipeline using the official GitHub actions.
We should look to try and control this perhaps. Needs investigation.
actions/setup-java uses the latest Maven version. It does not appear to have a setting to pin this to a specific version (they have an issue about this actions/setup-java#40). In reality, they say it uses whichever version is installed on the runner (not sure how to control that).
There are other 'setup-maven' type actions on the marketplace which may allow this. Although I am a bit cautious about using a random user's GitHub action over a more standard pipeline using the official GitHub actions.
We should look to try and control this perhaps. Needs investigation.