-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use github action to publish jar file #8
Comments
We created the git hub actions to publish the jar file to the github repository. |
@taojing2002 Looks like the publish action failed. It is a conflict error, which probably means that you need to overwrite the existing jar or something else.
|
I saw the error messages about the conflict. I think the reason is that I already manually built the 2.0.0 jar two weeks ago. So the system prevent us to build again since it is a formal release. There is no real code change except a test file after the jar file was built. So I haven't taken a look on how to overwrite it. Do you think we need to build the jar file again? @vchendrix |
You could add paths to ignore in the code base for the gh action. That way
it won't try to publish if there were no changes to the jar. It is
probably good to have the error in the case where the version was not
bumped.
+++++++++++++++++++++++++++++++++
Valerie Hendrix
***@***.***
Lawrence Berkeley National Lab
Mail Stop: 50B-2239
Room: 50B-2258E
Phone: (510) 495-2905
Pronouns: she/hers
+++++++++++++++++++++++++++++++++
…On Fri, Feb 7, 2025 at 10:47 AM Jing Tao ***@***.***> wrote:
I saw the error messages about the conflict. I think the reason is that I
already manually built the 2.0.0 jar two weeks ago. So the system prevent
us to build again since it is a formal release. There is no real code
change except a test file after the jar file was built. So I haven't taken
a look on how to overwrite it. Do you think we need to build the jar file
again? @vchendrix <https://github.com/vchendrix>
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAL4M4KYRRF2AKRSE3W3DXL2OT5UJAVCNFSM6AAAAABVF7KIHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBTG4ZDENRSGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
We need to use the github action to publish the jar file to the github package registry.
Here is the documentation:
https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-maven
The text was updated successfully, but these errors were encountered: