Add Github pipeline

This commit is contained in:
Gabriele C 2022-04-10 21:10:28 +02:00 committed by GitHub
parent 6e0210902c
commit 5ca6d718b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/maven.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Java CI
on: [push]
jobs:
build_and_test:
strategy:
matrix:
jdkversion: [8, 11, 17]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.jdkversion }}
cache: 'maven'
- name: Build with Maven
run: mvn -V -B clean package --file pom.xml