Skip to content

ci: fix Maven GPG import input name#182

Merged
jadamcrain merged 1 commit into
mainfrom
fix/maven-gpg-input-name
May 28, 2026
Merged

ci: fix Maven GPG import input name#182
jadamcrain merged 1 commit into
mainfrom
fix/maven-gpg-input-name

Conversation

@jadamcrain
Copy link
Copy Markdown
Member

Problem

The release-maven job in the 1.5.0-RC2 release failed at the Import PGP key step:

##[warning]Unexpected input(s) 'gpg-private-key', valid inputs are ['gpg_private_key', 'passphrase', ...]
##[error]Input required and not supplied: gpg_private_key

crazy-max/ghaction-import-gpg@v7 expects the input gpg_private_key (underscore). The workflow passed gpg-private-key (hyphen), which was silently ignored, so the required key was never supplied and the step errored before the Maven deploy ran. (The SFIO_PGP_PRIVATE_KEY secret itself is fine — the value was present but bound to an unrecognized input name.)

Fix

Rename the input gpg-private-keygpg_private_key. passphrase was already correct.

Note

crates.io, NuGet, and docs all published successfully for 1.5.0-RC2; only Maven Central and the dependent GitHub release were blocked. After this merges, the 1.5.0-RC2 tag needs to be re-pointed at the fixed commit and re-pushed to re-run the pipeline (the crates.io/NuGet jobs skip if the version already exists).

crazy-max/ghaction-import-gpg@v7 expects 'gpg_private_key' (underscore);
the workflow used 'gpg-private-key' (hyphen), which was silently ignored
and caused 'Input required and not supplied: gpg_private_key', failing the
Maven Central release for 1.5.0-RC2.
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@jadamcrain jadamcrain merged commit 46ed92e into main May 28, 2026
29 checks passed
@jadamcrain jadamcrain deleted the fix/maven-gpg-input-name branch May 28, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant