Fix Gradle publish signing failure in release workflow#7
Merged
Conversation
Agent-Logs-Url: https://github.com/CyAScott/poly-bus/sessions/c6fae64a-6b9d-4d54-adb3-3083e48d0b9c Co-authored-by: CyAScott <3858469+CyAScott@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job Publish Gradle Package
Fix Gradle publish signing failure in release workflow
May 25, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Removes the SIGNING_KEY_ID secret from the release/publish GitHub Actions workflow environment.
Changes:
- Dropped
SIGNING_KEY_IDfrom the job env passed into the release step.
| @@ -308,7 +308,6 @@ jobs: | |||
| MAVEN_REPOSITORY_URL: ${{ secrets.MAVEN_REPOSITORY_URL }} | |||
| MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | |||
| MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Publish Gradle Packagejob was failing in:signMavenJavaPublicationbecause the signing key ID provided via workflow secret did not match the Gradle signing plugin’s required key-id format. This PR updates the workflow so Gradle signing relies on in-memory key material without forcing invalid key-id parsing.Root cause addressed
SIGNING_KEY_IDfrom thepublish-gradlejob environment in.github/workflows/release-and-publish.yml.SIGNING_KEYandSIGNING_PASSWORDunchanged for in-memory signing.Why this unblocks publishing
signMavenJavaPublication.Workflow delta (snippet)