From 557fef57fddd3a8ddc8e47147a169fa2f006293d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Santos?= Date: Mon, 18 Jul 2022 12:08:17 +0100 Subject: [PATCH] Use 'temurin' instead of 'adopt' and update to java 17 --- .github/workflows/gradle.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a7dd63bd4..d794dd077 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -12,11 +12,11 @@ jobs: steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - - name: Set up JDK 1.11 - uses: actions/setup-java@v3.4.1 + - name: Set up JDK 1.17 + uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 with: - java-version: 11 - distribution: 'adopt' + java-version: 17 + distribution: 'temurin' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Compile and checkstyle with Gradle @@ -28,11 +28,11 @@ jobs: steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - - name: Set up JDK 1.11 - uses: actions/setup-java@v3.4.1 + - name: Set up JDK 1.17 + uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 with: - java-version: 11 - distribution: 'adopt' + java-version: 17 + distribution: 'temurin' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Journey test