From bfcab40493910f08ce05f65fdafad2cfa41b8105 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 12 Apr 2021 15:49:02 +0200 Subject: [PATCH] github actions build for Java 8 and 11 --- .github/workflows/buildReporting_Java11.yml | 2 +- .github/workflows/buildReporting_Java8.yml | 27 +++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/buildReporting_Java8.yml diff --git a/.github/workflows/buildReporting_Java11.yml b/.github/workflows/buildReporting_Java11.yml index bdeeb883..2f99bd19 100644 --- a/.github/workflows/buildReporting_Java11.yml +++ b/.github/workflows/buildReporting_Java11.yml @@ -24,4 +24,4 @@ jobs: java-version: '11' distribution: 'adopt' - name: Build with Maven - run: mvn clean install -e -P let_reporting + run: mvn clean install diff --git a/.github/workflows/buildReporting_Java8.yml b/.github/workflows/buildReporting_Java8.yml new file mode 100644 index 00000000..c198133e --- /dev/null +++ b/.github/workflows/buildReporting_Java8.yml @@ -0,0 +1,27 @@ +# This workflow will build a Java project with Maven +# 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: [main, development] + pull_request: + branches: [main, development] + workflow_dispatch: + + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 8 + uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'adopt' + - name: Build with Maven + run: mvn clean install -e -P let_reporting