Add CI/CD workflows and publish configuration to pom.xml#1
Merged
Conversation
- Add Central-ready metadata to pom.xml: url, licenses (MIT), scm, developers - Add publish workflow triggered on release creation - Workflow uses actions/setup-java@v4 with server-id: github for auto settings.xml https://claude.ai/code/session_01S1ZeyRwg7BTY7iEHo3bLPV
Stream.toList() was added in Java 16. Also set fail-fast: false so all matrix jobs run even if one fails. https://claude.ai/code/session_01S1ZeyRwg7BTY7iEHo3bLPV
GitHub Packages requires a PAT with read:packages even for public packages. Be upfront about this and flag Maven Central as planned. https://claude.ai/code/session_01S1ZeyRwg7BTY7iEHo3bLPV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds GitHub Actions workflows for continuous integration and automated package publishing, along with updating the project metadata in pom.xml to support publishing to GitHub Packages.
Key Changes
ci.yml): Added automated testing on push to master and pull requests, running tests across Java versions 11, 17, 21, and 25publish.yml): Added automated package publishing to GitHub Packages on release creationNotable Details
https://claude.ai/code/session_01S1ZeyRwg7BTY7iEHo3bLPV