Skip to content

Publish the runtime for the JVM to GitHub Packages - #22

Merged
xadaemon merged 1 commit into
trunkfrom
github-packages-jvm
Nov 16, 2026
Merged

xadaemon merged 1 commit into
trunkfrom
github-packages-jvm

Conversation

@xadaemon

Copy link
Copy Markdown
Member

org.boxtheta:asnkitrt is published to GitHub Packages with each release, at https://maven.pkg.github.com/boxtheta/asnkit.

  • packages/asnkitrt-jvm/build.gradle.kts has the repository GitHubPackages, with GITHUB_ACTOR and GITHUB_TOKEN of the environment. The publications are signed only when there is a key: without one signAllPublications() fails, and GitHub Packages needs no signature. What is set for Maven Central is as it was.
  • release.yml: the job build builds and tests the runtime for the JVM too, the new job maven publishes it with the token of the workflow and leaves out a version that is already there, and the release on GitHub waits for it.
  • The READMEs, RELEASING.md and CHANGELOG.md tell where it is, and that a build needs a token that can read:packages to depend on it.

./gradlew build passes, and the publication to a repository that is a folder has the jar, the sources, the javadoc, the pom and the module of 2.0.0-rc8. The upload to GitHub Packages itself is not tried here: it is with 2.0.0-rc8 by hand, once this is merged.

The release workflow builds and tests org.boxtheta:asnkitrt with the
rest, and publishes it to GitHub Packages with its own token, before
the release on GitHub is made. A version that is already there is left
out.

The publications are signed only when there is a key, as Maven Central
wants and GitHub Packages does not.

Signed-off-by: Matheus Xavier <mxavier@boxtheta.com>
@xadaemon
xadaemon merged commit 53a3ba7 into trunk Nov 16, 2026
22 checks passed
@xadaemon
xadaemon deleted the github-packages-jvm branch November 16, 2026 22:26
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