Zj/native builds 081225 #220
Merged
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 updates several GitHub Actions workflows to improve the build and deployment process for Maven projects, especially around building native JARs and handling project versioning. The main changes add a reusable workflow for building native JARs, enhance how project versions are set, and streamline the workflow configuration.
Workflow enhancements
build-native-jarjob in bothmaven_deploy_snapshot.ymlandmaven_release.ymlworkflows. This job calls the reusablemaven_jni_25.ymlworkflow after publishing, enabling native JAR builds with appropriate secrets and versioning. [1] [2]Reusable workflow improvements
project-versioninput inmaven_jni_25.ymlto be optional and default toUNCHANGED, allowing more flexible invocation from other workflows.Set project versionstep inmaven_jni_25.ymlto only run when a new version is provided, preventing unnecessary version changes.Minor workflow cleanups
.github/workflows/maven_release.ymlfor consistency..github/workflows/maven_build_win.ymlto streamline the workflow steps. [1] [2]