From 585c19faa48f7a43d7dd5d173e4718cac39588d2 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Thu, 2 Nov 2023 23:31:17 -0400 Subject: [PATCH] Update CI to JDK 21 (#1502) --- .github/workflows/build.yaml | 16 ++++++++-------- .github/workflows/release.yaml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 69a73a8b06..23c4c73f3c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - uses: gradle/gradle-build-action@v2 # Don't spend more than 5m rehydrating the cache. Otherwise just move on. @@ -37,7 +37,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - uses: gradle/gradle-build-action@v2 # Don't spend more than 5m rehydrating the cache. Otherwise just move on. @@ -57,7 +57,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - uses: gradle/gradle-build-action@v2 # Don't spend more than 5m rehydrating the cache. Otherwise just move on. @@ -83,7 +83,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - uses: gradle/gradle-build-action@v2 # Don't spend more than 5m rehydrating the cache. Otherwise just move on. timeout-minutes: 5 @@ -100,7 +100,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - uses: gradle/gradle-build-action@v2 # Don't spend more than 5m rehydrating the cache. Otherwise just move on. @@ -125,7 +125,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - uses: gradle/gradle-build-action@v2 # Don't spend more than 5m rehydrating the cache. Otherwise just move on. @@ -144,7 +144,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - uses: gradle/gradle-build-action@v2 # Don't spend more than 5m rehydrating the cache. Otherwise just move on. @@ -178,7 +178,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - uses: gradle/gradle-build-action@v2 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1a8ac29250..8b607be213 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-java@v3.13.0 with: distribution: 'zulu' - java-version: 20 + java-version: 21 - name: Build and publish artifacts env: