-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GHA to publish to maven repository #130
Conversation
Build failure fix is raised here #129 |
.github/workflows/maven-publish.yml
Outdated
export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text) | ||
echo "::add-mask::$SONATYPE_USERNAME" | ||
echo "::add-mask::$SONATYPE_PASSWORD" | ||
./gradlew publishPluginZipPublicationToSnapshotsRepository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Add new line
Signed-off-by: Vijayan Balasubramanian <[email protected]>
For reference, there is one more change required in case we need to publish jars in addition to zips, this is PR for such change: opensearch-project/ml-commons#764 |
push: | ||
branches: | ||
- 'main' | ||
- '1.*' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neural search does not have 1.* branch
Signed-off-by: Vijayan Balasubramanian <[email protected]> (cherry picked from commit c7b63d6)
Signed-off-by: Vijayan Balasubramanian <[email protected]>
Description
Add GHA to publish to maven repository
Issues Resolved
#114
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.