- Run the Prepare and push release workflow (
publish.yml) frommainwith the release version (e.g.0.5.10) and the next development version (e.g.0.5.11-SNAPSHOT). It commits the version bump, pushes an annotatedvX.Y.Ztag and triggers Java CI with Gradle (gradle.yml) for that tag. - The
deployjob ingradle.ymldeploys to Maven Central and then creates the GitHub release.
If the Maven Central deploy succeeded but creating the GitHub release failed, don't re-run the job (Maven Central rejects re-deploys).
Instead, run Java CI with Gradle manually against the tag with skipDeploy enabled:
gh workflow run gradle.yml --ref vX.Y.Z -f skipDeploy=true