This action cache maven dependencies, add custom env variables and build maven project
Name | Description |
---|---|
jdk-version |
The JDK version to set up. |
jdk-distribution |
JDK distributor. |
mvn-args |
Additional maven arguments |
name: Build maven project
on: [pull_request]
jobs:
build-mvn:
runs-on: ubuntu-latest
steps:
- name: Build
uses: rbkmoney/action-jdk-build@v1
with:
mvn-args: '-DjvmArgs="-Xmx256m"'