From 6661ea1664c1cb24004adf424451349975d1924f Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Mon, 12 Oct 2020 16:52:00 +0200 Subject: [PATCH 1/3] try with official jdk --- .github/workflows/deployment.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 7f729318063..e7dfa03f68f 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -55,10 +55,15 @@ jobs: - name: Run GitVersion id: gitversion uses: gittools/actions/gitversion/execute@v0.9.4 - - name: Set up JDK - uses: actions/setup-java@v1 + - name: Setup JDK 15 from jdk.java.net with: - java-version: 15 + feature: 15 + - uses: sormuras/download-jdk@v1 + - uses: actions/setup-java@v1 + with: + java-version: ${{ env.JDK_VERSION }} + jdkFile: ${{ env.JDK_FILE }} + - run: java --version - name: Restore gradle cache uses: actions/cache@master with: From 439924cf991cfd403d41ddc44ade052aaa6b5d29 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Mon, 12 Oct 2020 16:55:04 +0200 Subject: [PATCH 2/3] I hate yaml --- .github/workflows/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index e7dfa03f68f..a4fc80b9288 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -56,9 +56,9 @@ jobs: id: gitversion uses: gittools/actions/gitversion/execute@v0.9.4 - name: Setup JDK 15 from jdk.java.net + uses: sormuras/download-jdk@v1 with: feature: 15 - - uses: sormuras/download-jdk@v1 - uses: actions/setup-java@v1 with: java-version: ${{ env.JDK_VERSION }} From 9db33d1edd79686226887f175f388b0e985407d7 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Wed, 14 Oct 2020 21:44:59 +0200 Subject: [PATCH 3/3] Downgrade to jdk 14 until the JDK 15 bug for windows is solved --- .github/workflows/deployment.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index a4fc80b9288..6689341b25a 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -55,15 +55,16 @@ jobs: - name: Run GitVersion id: gitversion uses: gittools/actions/gitversion/execute@v0.9.4 - - name: Setup JDK 15 from jdk.java.net - uses: sormuras/download-jdk@v1 + - name: Set up JDK 15 for linux and mac + uses: actions/setup-java@v1 with: - feature: 15 - - uses: actions/setup-java@v1 + java-version: 15 + if: matrix.os != 'windows-latest' + - name: Set up JDK 14 for windows + uses: actions/setup-java@v1 with: - java-version: ${{ env.JDK_VERSION }} - jdkFile: ${{ env.JDK_FILE }} - - run: java --version + java-version: 14 + if: matrix.os == 'windows-latest' - name: Restore gradle cache uses: actions/cache@master with: