Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Add CI workflow to build and publish GitHub releases#2

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/build-project-and-push-release
Draft

Add CI workflow to build and publish GitHub releases#2
Copilot wants to merge 2 commits into
mainfrom
copilot/build-project-and-push-release

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 24, 2026

No automated build or release process existed for the project. Adds a GitHub Actions workflow triggered on v* tag pushes that builds a fat JAR and publishes it as a GitHub Release.

Changes

.github/workflows/release.yml

  • Triggers on v* tag pushes
  • Sets up JDK 21 (required — code uses List.getFirst() introduced in Java 21)
  • Builds with ./gradlew jar
  • Creates a GitHub Release via softprops/action-gh-release@v2 with the JAR attached and auto-generated release notes

build.gradle.kts

  • Adds explicit Java 21 toolchain requirement to enforce the runtime dependency at build time

Usage

git tag v0.2
git push origin v0.2

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Atypeaxel <64996529+Atypeaxel@users.noreply.github.com>
Copilot AI changed the title [WIP] Build project and push a release Add CI workflow to build and publish GitHub releases Feb 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants