From adf804d7e4755edd5f50f54df2eb466a2d0aeba5 Mon Sep 17 00:00:00 2001 From: Carsten Hollmann Date: Mon, 5 Jul 2021 13:29:43 +0200 Subject: [PATCH] add github actions --- .github/workflows/maven.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 0000000000..e2d5463587 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,20 @@ +name: Java CI + +on: [push] + +jobs: + build: + strategy: + matrix: + java: [ 8, 9, 11, 15 ] + runs-on: ubuntu-latest + name: Java ${{ matrix.java }} compile + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Build with Maven + run: mvn -fae -U -B clean license:check install -P check --file pom.xml