From cf80e647d8f8f1f3da8e688b089558d3491e9195 Mon Sep 17 00:00:00 2001 From: Bocher Erwan Date: Fri, 8 Nov 2024 11:23:14 +0100 Subject: [PATCH] Update CI snapshot.yml --- .github/workflows/CI snapshot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI snapshot.yml b/.github/workflows/CI snapshot.yml index b736a10..6a42a04 100755 --- a/.github/workflows/CI snapshot.yml +++ b/.github/workflows/CI snapshot.yml @@ -28,7 +28,7 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} + gpg-private-key: ${{ secrets.GPG_KEY_NAME}} gpg-passphrase: MAVEN_GPG_PASSPHRASE @@ -36,7 +36,7 @@ jobs: # Install the GPG secret key - name: Install gpg secret key run: | - cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import + cat <(echo -e "${{ secrets.MAVEN_SIGNGING_KEY }}") | gpg --batch --import gpg --list-secret-keys --keyid-format LONG # Deploy the snapshot @@ -45,4 +45,4 @@ jobs: env: MAVEN_USERNAME: ${{ secrets.MVN_CENTRAL_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MVN_CENTRAL_PASSWORD}} - MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE}}