From 5ca6d718b8dc811296246536c52356981a5d0519 Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Sun, 10 Apr 2022 21:10:28 +0200 Subject: [PATCH] Add Github pipeline --- .github/workflows/maven.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..407749a --- /dev/null +++ b/.github/workflows/maven.yml @@ -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