From a943d8e30e08bce2600e5e17b357bc4414470680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Braun?= Date: Fri, 10 May 2024 12:33:42 +0200 Subject: [PATCH] Use JDK17 for CI --- .github/workflows/build-and-test.yml | 7 ++++--- .github/workflows/publish.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a3d36c5..1a86ce4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -9,10 +9,11 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: - java-version: 1.8 + distribution: 'zulu' + java-version: 17 - name: Debug build run: ./gradlew assembleDebug --stacktrace - name: Unit test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8115a51..9b4c0f9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,10 +9,11 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: - java-version: 1.8 + distribution: 'zulu' + java-version: 17 - name: Create secrets file env: GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}