ci: fix CI on Java 25 and port the release workflows to Forgejo #24
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
6b6t/AnarchyClient!24
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/forgejo-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two commits that get AnarchyClient's CI and releases working on Forgejo.
CI fix
CI has failed since 21 November, first on GitHub and then on Forgejo.
NoSuchFieldErroronJCCompilationUnit, 794 errors). On the Forgejo runner Gradle also couldn't find a Java 25 toolchain. CI now installs Java 25.gradle/verification-metadata.xmllacked entries forlwjgl-freetype 3.4.3-mojang-2.15.0and for POMs that Spotless resolves, so strict verification failed on a clean machine. All 15 added checksums match the files on Maven Central or libraries.minecraft.net.Tested in
ghcr.io/catthehacker/ubuntu:act-24.04, the runner image, with an empty Gradle home:./gradlew buildand the full client gametest suite pass.Release port
forgejo-releaseaction replacesaction-gh-release, and the notes link the jar on git.6b6t.org.SHA256SUMSfile attached to each release replaces GitHub build provenance. The docs explain how to check it, and releases up to 0.3.0 keep their GitHub provenance..github/scripts/changelog.pybuilds it from git history instead of the GitHub API, with the same categories.set-versionpushes them asrelease-bot, the only account allowed to push tomain.The release steps, the bot push to a protected
mainand the changelog script were tested end to end in a temporary repo with the same branch protection. That repo is deleted.🤖 Generated with Claude Code
Automatic approval. Required checks still have to pass before merging.