Skip to content

Towards release - #155

Draft
xhanulik wants to merge 3 commits into
crocs-muni:mainfrom
xhanulik:gh-release
Draft

xhanulik wants to merge 3 commits into
crocs-muni:mainfrom
xhanulik:gh-release

Conversation

@xhanulik

@xhanulik xhanulik commented Jul 9, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds automated build so users can download ready-to-run tool without cloning and building it themselves.

  • build.gradle: produces a self-contained native app-image per OS (bundles its own JRE)
  • .github/workflows/build-artifacts.yml: new workflow (running on every branch push and on v* tags) that builds:
    • JAR
    • Linux native app-image (JCProfilerNext-linux-x64)
    • Windows native app-image (JCProfilerNext-windows-x64)

Release proposition

This workflow only builds and uploads artifacts, but they can be used for releases. Pushing a tag vX.Y.Z makes CI pass -Pversion=X.Y.Z to Gradle, so the JAR and native builds are versioned X.Y.Z for that run. Artifacts can be attached manually to a GitHub Release for that tag.

Otherwise, the release can be handled automatically with another job.

This branch has not been deployed

No deployments
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