Skip to content

Commit 6b31a7d

Browse files
joseegarciaclaude
andcommitted
CI: build Gradle release job with JDK 21
The gradle-portal-push workflow set up JDK 17 and then ran `mvn install` on multiapi-engine, which compiles with `release 21` — failing with "release version 21 not supported". Bump the job to JDK 21, matching the Maven workflows (which already build against 21). The engine and the Gradle plugin both require Java 21. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4261296 commit 6b31a7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/gradle-portal-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
with:
5151
ref: ${{ github.head_ref }}
5252

53-
- name: Set up JDK 17
53+
- name: Set up JDK 21
5454
uses: actions/setup-java@v2
5555
with:
56-
java-version: "17"
56+
java-version: "21"
5757
distribution: "adopt"
5858
server-id: ossrh
5959
server-username: MAVEN_USERNAME

0 commit comments

Comments
 (0)