This is an automated email from the ASF dual-hosted git repository.

engelen pushed a commit to branch test-key-format
in repository https://gitbox.apache.org/repos/asf/pekko.git

commit b6695cf51d4b9659fd68415435150d3393d06ed0
Author: Arnout Engelen <[email protected]>
AuthorDate: Tue Nov 11 09:18:07 2025 +0100

    import gpg key for sbt publishSigned
---
 .github/workflows/stage-release-candidate.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/stage-release-candidate.yml 
b/.github/workflows/stage-release-candidate.yml
index bea91d1b6b..e9fc27666f 100644
--- a/.github/workflows/stage-release-candidate.yml
+++ b/.github/workflows/stage-release-candidate.yml
@@ -153,12 +153,12 @@ jobs:
       - name: Build, sign and stage artifacts
         run: |-
           VERSION=$(echo $REF | sed -e "s/.\(.*\)-.*/\\1/")
-          PGP_PASSPHRASE=
+          echo "$PEKKO_GPG_SECRET_KEY" | gpg --batch --import --import-options 
import-show
 
           sbt "set ThisBuild / version := \"$VERSION\"; +publishSigned"
           sbt "set ThisBuild / version := \"$VERSION\"; sonatypePrepare; set 
ThisBuild / version := \"$VERSION\"; sonatypeBundleUpload; sonatypeClose"
         env:
           REF: ${{ github.ref_name }}
-          PGP_SECRET: ${{ secrets.PEKKO_GPG_SECRET_KEY }}
+          PEKKO_PGP_SECRET_KEY: ${{ secrets.PEKKO_GPG_SECRET_KEY }}
           SONATYPE_USERNAME: ${{ secrets.NEXUS_USER }}
           SONATYPE_PASSWORD: ${{ secrets.NEXUS_PW }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to