Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ The library is structured around three core concepts:
## Build Instructions

### Prerequisites
- Java 17+ (CI builds with Temurin; `docs.yml` uses Java 25, `release.yml` uses Java 17 — either works locally, but match `maven.compiler.release=17` for compatibility)
- Maven
- Java 17+ to compile/run the library; Java 25 for generating and checking shared catalogs (CI documentation, validation, and release jobs use Temurin 25; `maven.compiler.release=17` preserves runtime compatibility)
- Maven (release publication uses pinned Maven 3.9.16 to keep local metadata out of Central bundles)
- Node.js + npm (for the documentation site only)

### Maven Build Commands
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ jobs:
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
# Match the Javadoc toolchain used by validation and shared catalogs.
# maven.compiler.release still targets Java 17 for the library.
java-version: 25
cache: maven
server-id: central
server-username: MAVEN_USERNAME
Expand Down Expand Up @@ -90,11 +92,6 @@ jobs:

- name: Require current catalogs and assemble offline examples
run: |
# The release job uses the Java 17 toolchain for Maven Central
# signing. Javadoc can normalize generated reference metadata on a
# different JDK, so refresh derived compatibility files before the
# read-only gate instead of publishing stale JSON.
python3 scripts/browser-compatibility.py
python3 scripts/browser-compatibility.py --check
python3 scripts/release-catalogs.py --check
python3 scripts/release-catalogs.py --archive dist/scratch-catalogs.zip
Expand Down
Loading