From 203e18fe14659ae20f6f9957e98622161f79c436 Mon Sep 17 00:00:00 2001 From: Christopher Hakkaart Date: Wed, 2 Sep 2026 16:37:37 +1200 Subject: [PATCH] ci: build CLI docs extractor with Java 25 tower-cli releases are now compiled for Java 25 (class file version 69), so javac 21 fails with 'cannot access Tower' and the update-cli-docs workflow has failed on every dispatch since mid-August. Bump the setup-java pin and the local reproduction requirement to match. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/update-cli-docs.yml | 2 +- platform-cli-docs/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-cli-docs.yml b/.github/workflows/update-cli-docs.yml index 34c70f698..103da3ef1 100644 --- a/.github/workflows/update-cli-docs.yml +++ b/.github/workflows/update-cli-docs.yml @@ -74,7 +74,7 @@ jobs: uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 with: distribution: temurin - java-version: '21' + java-version: '25' - name: Set up Python uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # ratchet:actions/setup-python@v7.0.0 diff --git a/platform-cli-docs/README.md b/platform-cli-docs/README.md index 97c6be784..4e87ad40c 100644 --- a/platform-cli-docs/README.md +++ b/platform-cli-docs/README.md @@ -103,7 +103,7 @@ Do not hand-edit generated option tables. Put durable additions in the matching Requirements: -- Java 21 (`java` and `javac` on `PATH`) +- Java 25 or later (`java` and `javac` on `PATH`), matching the Java release the tower-cli JAR is compiled for - Python 3.11 or later - network access to public GitHub releases