Skip to content

Commit 46ed92e

Browse files
authored
ci: fix Maven GPG import input name (#182)
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.
1 parent ba26c99 commit 46ed92e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ jobs:
362362
- name: Import PGP key
363363
uses: crazy-max/ghaction-import-gpg@v7
364364
with:
365-
gpg-private-key: ${{ secrets.SFIO_PGP_PRIVATE_KEY }}
365+
gpg_private_key: ${{ secrets.SFIO_PGP_PRIVATE_KEY }}
366366
passphrase: ${{ secrets.SFIO_PGP_PRIVATE_KEY_PASSPHRASE }}
367367
- name: Deploy Java to Maven Central
368368
shell: bash

0 commit comments

Comments
 (0)