devops: reverting last commit
@@ -74,14 +74,10 @@ jobs:
# server_id: ossrh
# maven_args: -DskipTests
# directory: $GITHUB_WORKSPACE
-# - name: Copy GPG Private key
-# run: echo "${{ secrets.MAVEN_GPG_PRIVATE_KEY }}" > $GITHUB_WORKSPACE/private-key.txt
-# - name: Cat
-# run: cat $GITHUB_WORKSPACE/private-key.txt
-# - name: Import GPG Private key
-# run: gpg --import --no-tty --batch --yes $GITHUB_WORKSPACE/private-key.txt
- - name: Import GPG Provate key v2
- run: echo "${{ secrets.MAVEN_GPG_PRIVATE_KEY }}" | base64 --decode | gpg --import --no-tty --batch --yes
+ - name: Copy GPG Private key
+ run: echo "${{ secrets.MAVEN_GPG_PRIVATE_KEY }}" > $GITHUB_WORKSPACE/private-key.txt
+ - name: Import GPG Private key
+ run: gpg --import --no-tty --batch --yes $GITHUB_WORKSPACE/private-key.txt
- name: Deploy to Maven Central respository 2
run: mvn clean deploy -Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }} -DskipTests -P deploy
