Skip to content

Commit 924311b

Browse files
Update release.yml
1 parent 86e56f8 commit 924311b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,13 @@ jobs:
7878
server-password: OSSRH_TOKEN
7979
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
8080
gpg-passphrase: MAVEN_GPG_PASSPHRASE
81-
81+
82+
- name: Import GPG Key
83+
uses: crazy-max/ghaction-import-gpg@v1
84+
env:
85+
GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
86+
PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
87+
8288
- name: Update the POM version.
8389
run: mvn -B versions:set -DnewVersion='${{ env.RELEASE_VERSION }}' --file pom.xml -DskipTests
8490

0 commit comments

Comments
 (0)