From cd51efed09a37dfb2c691b7fa6df8962f3df6183 Mon Sep 17 00:00:00 2001 From: Zero King Date: Thu, 16 Oct 2025 11:16:07 +0800 Subject: [PATCH] Fix Java version in CI workflow Commit be0b9a99278aed64402b5f2f63055904e228c02c bumped jvmVersion to 21, but CI workflows were not updated accordingly. This broke the workflows resulting in the following error: > Java compilation initialization error error: invalid source release: 21 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f400abd..24d371d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: 'corretto' - java-version: '17' + java-version: '21' - name: Test run: ./gradlew test @@ -46,7 +46,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: 'corretto' - java-version: '17' + java-version: '21' - name: Build with Gradle run: ./gradlew buildPlugin