Title: Use GPG private key within GitHub Actions and Setup Java SDK · Issue #91 · actions/setup-java · GitHub
Open Graph Title: Use GPG private key within GitHub Actions and Setup Java SDK · Issue #91 · actions/setup-java
X Title: Use GPG private key within GitHub Actions and Setup Java SDK · Issue #91 · actions/setup-java
Description: Associated community ticket: https://github.community/t/use-gpg-private-key-within-github-actions-and-setup-java-sdk/127133 The customer is trying to publish his Java package to the Maven Central Repository and GitHub Packages in a GitHu...
Open Graph Description: Associated community ticket: https://github.community/t/use-gpg-private-key-within-github-actions-and-setup-java-sdk/127133 The customer is trying to publish his Java package to the Maven Central R...
X Description: Associated community ticket: https://github.community/t/use-gpg-private-key-within-github-actions-and-setup-java-sdk/127133 The customer is trying to publish his Java package to the Maven Central R...
Opengraph URL: https://github.com/actions/setup-java/issues/91
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use GPG private key within GitHub Actions and Setup Java SDK","articleBody":"Associated community ticket: https://github.community/t/use-gpg-private-key-within-github-actions-and-setup-java-sdk/127133\r\n\r\nThe customer is trying to publish his Java package to the Maven Central Repository and GitHub Packages in a GitHub Actions workflow. He is authenticating with the GPG key to publish the package.\r\nHe refers to the examples mentioned in \"[Publishing Java packages with Maven](https://docs.github.com/en/actions/language-and-framework-guides/publishing-java-packages-with-maven#publishing-packages-to-the-maven-central-repository-and-github-packages)\" and the [README](https://github.com/actions/setup-java#publishing-using-apache-maven) of the **`setup-java`** action to setup the workflow.\r\nBut he gets the following errors:\r\n\u003e [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project ***: Unable to decrypt gpg passphrase: org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException: java.io.FileNotFoundException: /home/runner/.m2/settings-security.xml (No such file or directory) -\u003e [Help 1]\r\n\r\nOR\r\n\u003e gpg: signing failed: Inappropriate ioctl for device\r\n","author":{"url":"https://github.com/BrightRan","@type":"Person","name":"BrightRan"},"datePublished":"2020-08-14T08:27:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/91/setup-java/issues/91"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eaa01679-24f8-89af-e5fe-534c9284fb0c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E394:9775E:35969C1:4B5CF50:6A4F899E |
| html-safe-nonce | 1f9aca128da7c894085c08880812c2fe88e736bf547f99a79fd956e855ab42e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzk0Ojk3NzVFOjM1OTY5QzE6NEI1Q0Y1MDo2QTRGODk5RSIsInZpc2l0b3JfaWQiOiI1OTU1MjI0OTQ2NTc3NzM4MTQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dbe808b632507610c61c14c1de6db19c2bef73ce1a34975345cf966b6d6c5d69 |
| hovercard-subject-tag | issue:678993214 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-java/91/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f5f1652dcd009b6cbdaacc5c261f9b2676cf72678b2f7b6bc0fd7a3ef26e2385/actions/setup-java/issues/91 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f5f1652dcd009b6cbdaacc5c261f9b2676cf72678b2f7b6bc0fd7a3ef26e2385/actions/setup-java/issues/91 |
| og:image:alt | Associated community ticket: https://github.community/t/use-gpg-private-key-within-github-actions-and-setup-java-sdk/127133 The customer is trying to publish his Java package to the Maven Central R... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BrightRan |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-java git https://github.com/actions/setup-java.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 196057608 |
| octolytics-dimension-repository_nwo | actions/setup-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 196057608 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width