From bacb434b0875bfef1b91a9c7361ac25e7b696204 Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 17:09:16 -0700 Subject: [PATCH] Fix Maven Central publish: use JDK 17 AGP 8.9 and the Spotless plugin both require a JDK 17+ runtime, but the publish workflow ran on JDK 11, so it failed at configuration time (the last few releases never actually published). Bump the workflow JDK to 17. --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 720548c..2a90366 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'temurin' - name: Extract version id: extract_version