From f7e874494a4f15f5c55ab12ffdd723185bc3f682 Mon Sep 17 00:00:00 2001 From: Roi Menashe <33356310+roimenashe@users.noreply.github.com> Date: Wed, 4 Aug 2021 16:00:45 +0300 Subject: [PATCH] Add gpg secrets (key and passphrase) to the release.yml workflow. (#266) --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad7e8421f..997a8fba5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,8 +14,12 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD + gpg-private-key: GPG_PRIVATE_KEY + gpg-passphrase: GPG_PASSPHRASE - name: Publish package run: mvn --batch-mode deploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} \ No newline at end of file + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} \ No newline at end of file