frejdh/Maven build and test
Action for building and testing maven repositories
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 22, 2025
- License
- Apache 2.0
Pinned Snippet
uses: frejdh/action-release-to-branch@7a2dfa994261f43ba0748dcacb1728601d0f5b27 # v2.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Either use `secrets.GITHUB_TOKEN` for the same repository. Or for other repositories, use a personal access token | yes | "" |
| java-version | JDK version to use. Default is '21' | no | 21 |
| java-distribution | JDK distribution to use. Default is 'temurin' | no | temurin |
| node-version | Node version to use. Default is '24' | no | 24 |
| cache-id | ID (subkey) for the cache | no | v1 |
| build-arguments | Arguments for the maven build. Default 'mvn -B install -e [CUSTOM ARGS]' | no | — |
| project-framework | Select what kind of framework the project uses | — | Maven |
| commitish | Git reference (branch/commit) to trigger the build on | no | — |
| release-branch-repository | If release branch is enabled, this will change the repository to be used. Default is the current repository | no | "" |
| release-branch-name-maven | Release branch name for Maven artifacts | no | — |
| release-branch-name-gradle | Release branch name for Gradle artifacts | no | — |
| release-branch-name-npm | Release branch name for NPM (Node) packages | no | — |
| release-branch-name-pypi | Release branch name for Python PIP packages | no | — |
| release-branch-name | Release branch name. Matching framework branch names takes precedence | no | — |
| create-tag-enabled | Whether tags should be created (in the originating repository). The tag name will be the first found artifact's/package's version | no | false |
| create-tag-pattern | Which pattern that should generate tags. Set to empty string or '.*' to match everything. By default, match everything not ending with -SNAPSHOT. JavaScript regex syntax | no | ^(?!.+(-SNAPSHOT)$).+$ |
| create-tag-allow-override | Whether the tags created can override existing ones. Equivalent to 'git push --force <tag>' | no | false |
| release-branch-name-node | Release branch name for built Node content | no | — |
| node-build-script | The name of the NPM script that builds the node project | no | build |
| node-build-target-directory | The directory where the built Node files are located | no | dist/ui |
| delete-old-node-files | Whether to delete old node files in the release repository and branch. Only applicable for Node projects. Recommended for Github pages only! | no | false |
| node-files-to-keep | Whether to delete old node files. Only applicable 'delete-old-node-files' is enabled. Comma separated regex patterns | no | ^README.md$, ^readme.md$, ^[.].* |
Outputs
no outputs