Update Maven workflows, credentials, and dependency versions#113
Merged
Conversation
Align Maven commands and tweak workflow settings across CI files. In .github/workflows/maven-build.yml the build step now uses the system 'mvn' and enables 'cache: maven' for setup-java. In .github/workflows/maven-publish.yml the publish step now invokes the wrapper './mvnw' and removed the server-id/username/password and cache entries. These changes harmonize command usage and update caching/credential configuration in the workflows.
Update GitHub Actions workflow to use the correct matrix variable and step name. The step name was changed from "Setup JDK ${{ matrix.Java }}" to "Setup Java ${{ matrix.java }}" to match the matrix key casing and ensure the expression is evaluated correctly during the build.
Add server-id, server-username, and server-password inputs to the setup-java step so MAVEN_USERNAME/MAVEN_PASSWORD are used for authenticated publishing to OSSRH. Ensures the subsequent mvn publish step can authenticate when deploying artifacts to Maven Central.
Update parent artifact io.github.microsphere-projects:microsphere-build in pom.xml from 0.2.7 to 0.2.9 so the project inherits the latest build configuration and fixes from the newer parent version.
Update junit-jupiter.version in microsphere-spring-boot-parent/pom.xml from 5.14.3 to 5.14.4 to adopt the latest patch release for testing dependencies.
Update README table to reflect new latest patch versions for branches: 0.2.x -> 0.2.13 and 0.1.x -> 0.1.13. Documentation-only change to keep branch version info current.
Update microsphere-spring.version in microsphere-spring-boot-parent/pom.xml from 0.1.15 to 0.1.16 to pick up the latest microsphere-spring release (bug fixes/improvements).
Delete the explicit `max-parallel: 7` setting in .github/workflows/maven-build.yml for the build job strategy. The matrix of Java and Maven profiles is unchanged; this lets GitHub Actions use its default concurrency behavior (or be controlled elsewhere) instead of the hard limit.
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
|
25257ad
into
microsphere-projects:release-1.x
37 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 updates to the build configuration and dependency versions, as well as minor documentation updates. The main changes are improvements to the Maven build and publish workflows, and version bumps for several dependencies.
Build workflow updates:
.github/workflows/maven-build.ymlto use the officialmvncommand instead of the wrapper, set up Java with caching for Maven dependencies, and fixed a casing issue in the matrix variable..github/workflows/maven-publish.ymlto use the Maven wrapper (./mvnw) instead of the system Maven, and removed the redundant Maven cache configuration.Dependency and version updates:
pom.xmlfrom0.2.7to0.2.9.microsphere-spring.versionfrom0.1.15to0.1.16andjunit-jupiter.versionfrom5.14.3to5.14.4inmicrosphere-spring-boot-parent/pom.xml.Documentation:
README.mdto reflect the latest released versions:0.2.13and0.1.13.