diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2c68568..1411a05 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -36,11 +36,9 @@ jobs: - name: Import GPG key run: | - echo "$GPG_PRIVATE_KEY" | gpg --batch --import - echo "$GPG_PASSPHRASE" | gpg --batch --import --passphrase-fd 0 + echo "$GPG_PRIVATE_KEY" | base64 --decode | gpg --batch --import env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Build and Deploy with Maven env: