-
Hello,
I’m not sure about non-existing Moreover, since I use two Setup Java SDK actions within my workflow, I have the problem of the clean-up for the second one: since the first one already deletes my private key, the second one fails in doing this and errors the whole workflow. So, my questions are:
For reference, here is workflow for my project. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
About your two questions:
|
Beta Was this translation helpful? Give feedback.
-
Hello @brightran, About number 2, it makes sense: I was avoiding to use multiple jobs in order not to duplicate steps because of two different runners; I think there’s no other way to fix that problem. About number 1, I wonder whether there’s a way to create a working Edit: by the way, why isn’t this problem documented into ‘Publishing Java projects with Maven’ documentation? Edit2: can’t I just disable password encryption mechanism? In the first place, I don’t need such a level of security, since I’m using a disposable runner and passwords aren’t even encrypted in generated Edit3: I managed to get rid of the error about
that cannot be fixed by |
Beta Was this translation helpful? Give feedback.
-
In the docs “Publishing Java packages with Maven”, it seems only mentions using passwrod (personal access token) to authenticate, not mentions using GPG keys. And looks like, all the authentication information will be stored into the automatically generated settings.xml. I have created an issue ticket (actions/setup-java#91) to help you report the questions to the appropriate engineering team for further investigation and evaluation. |
Beta Was this translation helpful? Give feedback.
-
@brightran, As stated in the issue you kindly opened on actions-setup-java repository, thanks to @airquick intervention on issue 43 which I previously commented, the solution for the
Along with first brightran answer to this thread, this closes my request for support. |
Beta Was this translation helpful? Give feedback.
-
You can also use another plugin Sign Maven Plugin – Introduction it doesn’t use
It also is operating system independent because needn’t external software. |
Beta Was this translation helpful? Give feedback.
@brightran,
Again, thank you for your concern.
As stated in the issue you kindly opened on actions-setup-java repository, thanks to @airquick intervention on issue 43 which I previously commented, the solution for the
ioctl
issue is to add a configuration section to Maven GPG plugin in project POM:Along with first brightran answer to this thread, this closes my request for support.