Skip to content

Commit 98084b8

Browse files
committed
import gpg
1 parent 7790fd1 commit 98084b8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/maven-central-publish.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ jobs:
1313
with:
1414
java-version: '11'
1515
distribution: 'temurin'
16+
server-id: ossrh
17+
server-username: MAVEN_USERNAME
18+
server-password: MAVEN_PASSWORD
19+
- name: Import GPG Key
20+
uses: crazy-max/ghaction-import-gpg@v6
21+
with:
22+
gpg_private_key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
23+
passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
1624
- name: Publish
1725
run: mvn clean deploy -Dgroups='!acceptance'
1826
env:

0 commit comments

Comments
 (0)