diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml new file mode 100644 index 0000000..359c433 --- /dev/null +++ b/.github/workflows/maven-build.yml @@ -0,0 +1,23 @@ +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: Java CI with Maven + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B -V verify -Dmaven.javadoc.skip=true --file pom.xml diff --git a/pom.xml b/pom.xml index 7fca073..7ac4627 100644 --- a/pom.xml +++ b/pom.xml @@ -81,7 +81,7 @@ See the License for the specific language governing permissions and limitations under the License. - The ${artifactId} Authors + The ${project.artifactId} Authors 2019