frejdh/Maven build and test

Action for building and testing maven repositories

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 22, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: frejdh/action-release-to-branch@7a2dfa994261f43ba0748dcacb1728601d0f5b27 # v2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenEither use `secrets.GITHUB_TOKEN` for the same repository. Or for other repositories, use a personal access tokenyes""
java-versionJDK version to use. Default is '21'no21
java-distributionJDK distribution to use. Default is 'temurin'notemurin
node-versionNode version to use. Default is '24'no24
cache-idID (subkey) for the cachenov1
build-argumentsArguments for the maven build. Default 'mvn -B install -e [CUSTOM ARGS]'no
project-frameworkSelect what kind of framework the project usesMaven
commitishGit reference (branch/commit) to trigger the build onno
release-branch-repositoryIf release branch is enabled, this will change the repository to be used. Default is the current repositoryno""
release-branch-name-mavenRelease branch name for Maven artifactsno
release-branch-name-gradleRelease branch name for Gradle artifactsno
release-branch-name-npmRelease branch name for NPM (Node) packagesno
release-branch-name-pypiRelease branch name for Python PIP packagesno
release-branch-nameRelease branch name. Matching framework branch names takes precedenceno
create-tag-enabledWhether tags should be created (in the originating repository). The tag name will be the first found artifact's/package's versionnofalse
create-tag-patternWhich pattern that should generate tags. Set to empty string or '.*' to match everything. By default, match everything not ending with -SNAPSHOT. JavaScript regex syntaxno^(?!.+(-SNAPSHOT)$).+$
create-tag-allow-overrideWhether the tags created can override existing ones. Equivalent to 'git push --force <tag>'nofalse
release-branch-name-nodeRelease branch name for built Node contentno
node-build-scriptThe name of the NPM script that builds the node projectnobuild
node-build-target-directoryThe directory where the built Node files are locatednodist/ui
delete-old-node-filesWhether to delete old node files in the release repository and branch. Only applicable for Node projects. Recommended for Github pages only!nofalse
node-files-to-keepWhether to delete old node files. Only applicable 'delete-old-node-files' is enabled. Comma separated regex patternsno^README.md$, ^readme.md$, ^[.].*

no outputs