diff --git a/.github/workflows/maven_deploy.yml b/.github/workflows/maven_deploy.yml index 70d5f04..e915242 100644 --- a/.github/workflows/maven_deploy.yml +++ b/.github/workflows/maven_deploy.yml @@ -16,6 +16,13 @@ jobs: with: ref: 'main' fetch-depth: 0 + + - name: Install gpg secret key + run: | + mkdir -p ~/.gnupg/private-keys-v1.d + chmod 700 ~/.gnupg/private-keys-v1.d + echo -n ${{ secrets.OSSRH_GPG_SECRET_KEY }} | base64 --decode | gpg --import + - name: Setup Java uses: actions/setup-java@v1 with: