From 5ceff7498da4666bd75b5c0d6fcc3c9fc324dde2 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Sat, 19 Oct 2024 11:26:08 +0800 Subject: [PATCH] Use Java 21 in GitHub Actions --- .github/workflows/publish-android-maven-central.yml | 2 +- .github/workflows/publish-client-maven-central.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-android-maven-central.yml b/.github/workflows/publish-android-maven-central.yml index 1299c29..ba2fdf1 100644 --- a/.github/workflows/publish-android-maven-central.yml +++ b/.github/workflows/publish-android-maven-central.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '21' distribution: 'adopt' - name: Cache Gradle packages diff --git a/.github/workflows/publish-client-maven-central.yml b/.github/workflows/publish-client-maven-central.yml index a93095d..5c633c0 100644 --- a/.github/workflows/publish-client-maven-central.yml +++ b/.github/workflows/publish-client-maven-central.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '21' distribution: 'adopt' - name: Cache Gradle packages