Skip to content

Fix the hosted Java selector for Forge 26.1.2 releases - #282

Merged
SkyBlade1978 merged 1 commit into
MinecraftModDevelopmentMods:master-26.1.2from
SkyBlade1978:master-26.1.2
Sep 2, 2026
Merged

Fix the hosted Java selector for Forge 26.1.2 releases#282
SkyBlade1978 merged 1 commit into
MinecraftModDevelopmentMods:master-26.1.2from
SkyBlade1978:master-26.1.2

Conversation

@SkyBlade1978

Copy link
Copy Markdown
Contributor

Summary

  • keep java_toolchain_version=25.0.3+9 as the exact Temurin compiler/runtime identity
  • add java_setup_version=25.0.3+9.0.LTS, the catalog selector required by actions/setup-java
  • add a regression contract that requires both values and prevents them being conflated

Cause

Release run 33652895504 routed and validated 4.0.16.2601021 correctly, then failed before Gradle started because GitHub's Temurin catalog exposes this build as 25.0.3+9.0.LTS, not the shorter 25.0.3+9 selector.

The shared dispatcher already supports a separate hosted setup selector. This target-specific metadata change leaves deploy-release.yml and the established Java 8, 16, 17, 21, and other branch release paths unchanged.

Validation

  • ReleaseWorkflowContractTest passed under the isolated pinned Java 25 toolchain
  • verifyReleaseConfiguration passed
  • automatic JDK detection and download were disabled during validation
  • git diff --check passed
  • the failed release created no tag and did not enter Maven, CurseForge, or GitHub publication

No production source, gameplay behavior, API/schema, artifact name, or release content changes.

@SkyBlade1978
SkyBlade1978 merged commit 60bd945 into MinecraftModDevelopmentMods:master-26.1.2 Sep 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant