-
Notifications
You must be signed in to change notification settings - Fork 64
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 github action to publish snapshots to maven #711
Conversation
Signed-off-by: Ankit Kala <ankikala@amazon.com>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #711 +/- ##
============================================
- Coverage 73.34% 73.25% -0.09%
Complexity 997 997
============================================
Files 141 141
Lines 4637 4637
Branches 519 519
============================================
- Hits 3401 3397 -4
- Misses 911 916 +5
+ Partials 325 324 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
BWC and security test failures are known issues on main |
.github/workflows/maven-publish.yml
Outdated
fail-fast: false | ||
matrix: | ||
jdk: [11, 17] | ||
platform: ["ubuntu-latest", "windows-latest", "macos-latest"] |
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.
I dont think you need to build on all platforms to publish to maven. Same with JDK.
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.
Ack. Updated.
ce45cb9
Signed-off-by: Ankit Kala <ankikala@amazon.com>
.github/workflows/maven-publish.yml
Outdated
] | ||
|
||
jobs: | ||
build-and-publish-snapshots:\ |
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.
typo: \
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.
I added the required secret role: PUBLISH_SNAPSHOTS_ROLE
Please fix the typo and it should be good to merge.
Thanks!
Build started failing due to a breaking change in OS: /~https://github.com/opensearch-project/cross-cluster-replication/pull/718/files WIll raise a backport PR manually in 2.x for now. |
Pull request was closed
Description
Add github action to publish snapshots to maven
Issues Resolved
#710
Testing Done
Tested by publishing to the local filesystem
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.