This github action starts a maven release build. It is a composite action that:
- optionally sets an ssh private key
- using the ssh agent action
- if the parameter
git-ssh-private-key
is not set, this step is omitted
- checks out the repository source code
- using the default checkout action
- sets up a jdk and maven
- using the default setup-java action
- executes the maven release process
- it executes the maven release plugins goals
prepare
andperform
- it executes the maven release plugins goals
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.
The path inside the repository to the global maven settings used to deploy release artifacts. The default value works for projects generated using eitcos default maven github template
default: deployment/global-settings.xml
An ssh private key to use in later steps e.g. to commit documentation to a github pages repository.