From 6846327d4b898320acfe8de95ae3b82f485853ae Mon Sep 17 00:00:00 2001 From: Geertjan Wielenga Date: Wed, 8 Sep 2021 20:06:59 +0200 Subject: [PATCH 1/3] Fixed 11 version, together with latest version --- .github/workflows/maven.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c641d9d2d..5e60daedb 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,7 +13,9 @@ jobs: build: runs-on: ubuntu-latest - + strategy: + matrix: + java: [ '11', '11.0.3' ] steps: - name: Checkout core repository uses: actions/checkout@v2 @@ -30,7 +32,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v2 with: - java-version: '11' + java-version: ${{ matrix.java }} distribution: 'adopt' - name: Build with Maven run: mvn clean package --file $GITHUB_WORKSPACE/core/org.jcryptool.releng/pom.xml From 17e752085c0aa4ce943c3b9bca7783a4b3bdfd89 Mon Sep 17 00:00:00 2001 From: Geertjan Wielenga Date: Wed, 8 Sep 2021 20:13:19 +0200 Subject: [PATCH 2/3] Switch from adopt to temurin --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5e60daedb..90b0919e9 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -33,6 +33,6 @@ jobs: uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} - distribution: 'adopt' + distribution: 'temurin' - name: Build with Maven run: mvn clean package --file $GITHUB_WORKSPACE/core/org.jcryptool.releng/pom.xml From 60024d91da882e75e8b42600d7b0b42e1538d3e7 Mon Sep 17 00:00:00 2001 From: Geertjan Wielenga Date: Wed, 8 Sep 2021 20:15:04 +0200 Subject: [PATCH 3/3] Switch from temurin to zulu --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 90b0919e9..c154cc694 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -33,6 +33,6 @@ jobs: uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} - distribution: 'temurin' + distribution: 'zulu' - name: Build with Maven run: mvn clean package --file $GITHUB_WORKSPACE/core/org.jcryptool.releng/pom.xml