Title: Post job phase fails to remove private key · Issue #128 · actions/setup-java · GitHub
Open Graph Title: Post job phase fails to remove private key · Issue #128 · actions/setup-java
X Title: Post job phase fails to remove private key · Issue #128 · actions/setup-java
Description: Description: If you have multiple setup steps with different settings but same gpg-private-key every time, then post job phase fails with the following message: Post job cleanup. removing private key from keychain Error: failed to remove...
Open Graph Description: Description: If you have multiple setup steps with different settings but same gpg-private-key every time, then post job phase fails with the following message: Post job cleanup. removing private k...
X Description: Description: If you have multiple setup steps with different settings but same gpg-private-key every time, then post job phase fails with the following message: Post job cleanup. removing private k...
Opengraph URL: https://github.com/actions/setup-java/issues/128
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Post job phase fails to remove private key","articleBody":"**Description:**\r\nIf you have multiple setup steps with different settings but same `gpg-private-key` every time, then post job phase fails with the following message:\r\n```\r\nPost job cleanup.\r\nremoving private key from keychain\r\nError: failed to remove private key\r\n```\r\n\r\n**Task version:**\r\nactions/setup-java@v1\r\n\r\n**Platform:**\r\n- [X] Ubuntu\r\n- [ ] macOS\r\n- [ ] Windows\r\n\r\n**Runner type:**\r\n- [X] Hosted\r\n- [ ] Self-hosted\r\n\r\n**Repro steps:** \r\n\r\n1. Create a workflow with two (or more) setup-java steps, with different settings but same `gpg-private-key` each time.\r\n2. Run the workflow.\r\n3. The first post job phase completes successfully.\r\n4. All the other post job phases fail with the error \"failed to remove private key\".\r\n\r\n**Expected behavior:**\r\nPost job phase should try to remove the private key if still present, but not fail if a previous step have already removed it.\r\n\r\n**Actual behavior:**\r\nPost job phase fails trying to remove a private key already removed.","author":{"url":"https://github.com/tbossi","@type":"Person","name":"tbossi"},"datePublished":"2021-02-24T09:17:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/128/setup-java/issues/128"}
| 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:d442cefa-d894-cb2f-1cb8-79bc5cfb2a65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF26:1FFDFF:574F0B5:7B49F72:6A5005C3 |
| html-safe-nonce | ba16cfd2f68f1a3cd192598a0eb853d3badb50fdd039d11d7ef381d4a04a2a8d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjI2OjFGRkRGRjo1NzRGMEI1OjdCNDlGNzI6NkE1MDA1QzMiLCJ2aXNpdG9yX2lkIjoiNjYxMzUzNzIyMjgwODMwNzEzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 53abb59a2c161e7d50a10d432f46b7fc659e6275f06c9146d473e1f263f3cc0d |
| hovercard-subject-tag | issue:815282089 |
| 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/128/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46337c614280845b904f1c871d856d1256d21e1853416a754ab7d769ab44cfe1/actions/setup-java/issues/128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46337c614280845b904f1c871d856d1256d21e1853416a754ab7d769ab44cfe1/actions/setup-java/issues/128 |
| og:image:alt | Description: If you have multiple setup steps with different settings but same gpg-private-key every time, then post job phase fails with the following message: Post job cleanup. removing private k... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tbossi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94 |
| 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 | e155b8a71f9284454f73118dfe5e634e74f7afb3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width