Fix Maven workflows, update dependencies, and enhance README#10
Merged
Conversation
maven-build.yml: fix matrix variable casing (matrix.java), enable Maven caching in setup-java, and switch build step to use the system mvn. maven-publish.yml: remove leftover server credential and cache keys from setup-java, and use the project mvnw for the publish step. These changes standardize variable usage, add caching for faster builds, and align mvn/mvnw usage between jobs.
Configure setup-java with Maven server credentials for publishing by adding server-id (ossrh) and placeholders for server-username/server-password (MAVEN_USERNAME/MAVEN_PASSWORD). This enables the GitHub Actions job to provide credentials to Maven (e.g., via secrets) when running the Publish package step to deploy to OSSRH/Maven Central.
Update microsphere Spring Cloud BOM to 0.1.12. Changed <microsphere-spring-cloud.version> in microsphere-multiactive-parent/pom.xml and updated the parent version in the root pom.xml to 0.1.12 so the project uses the new release.
Update the branches table in README.md: rename '0.2.x' to 'main' and '0.1.x' to '1.x', and bump the displayed latest versions from 0.2.1→0.2.2 and 0.1.1→0.1.2 so the documentation reflects current branch names and releases.
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
9bfbe44
into
microsphere-projects:release-1.x
16 checks passed
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.
This pull request includes several updates to improve build and publish workflows, update dependencies, and clarify branch/version information in the documentation. The most important changes are grouped below.
Build and Publish Workflow Improvements:
.github/workflows/maven-build.ymlto usemvninstead of the Maven wrapper (./mvnw), renamed the setup step for clarity, and enabled Maven caching to speed up builds..github/workflows/maven-publish.ymlto use the Maven wrapper (./mvnw) for publishing and removed the Maven cache configuration from thesetup-javastep.Dependency and Version Updates:
pom.xmlfrom0.1.11to0.1.12to use the latest release.microsphere-spring-cloud.versionproperty inmicrosphere-multiactive-parent/pom.xmlfrom0.1.11to0.1.12.Documentation Updates:
README.mdto reflect the latest supported branches and versions, including updating the main branch and version numbers.