This github action starts a maven build. It is a composite action that:
- checks out the repository source code
- using the default checkout action
- sets up a jdk and maven
- using the default setup-java action
- executes maven
- if the user is dependabot
mvn install
will be called - otherwise
mvn deploy
will be called
- if the user is dependabot
The action can be customized using the following parameters:
The (major) version of the jdk.
default: 17
The jdk distribution
default: temurin
The gpg private key to use for artifact signing. Make sure to use a github secret here.
The name of the gpg private key. Consider using a github secret here.
The passphrase of the gpg private key. Make sure to use a github secret here.
The user to authenticate at the artifact repository. Consider using a github secret here.
The password to authenticate at the artifact repository. Make sure to use a github secret here.