Skip to content

Commit a49c616

Browse files
Update maven-publish.yml
1 parent 11464bf commit a49c616

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
server-id: central
2121
server-username: CENTRAL_TOKEN_USERNAME
2222
server-password: CENTRAL_TOKEN_PASSWORD
23-
gpg-private-key: GPG_SIGNING_KEY
23+
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
2424
gpg-passphrase: GPG_SIGNING_KEY_PASSWORD
2525
- name: Build with Maven
2626
run: mvn -B package --file pom.xml
@@ -29,5 +29,4 @@ jobs:
2929
env:
3030
CENTRAL_TOKEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
3131
CENTRAL_TOKEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
32-
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
3332
GPG_SIGNING_KEY_PASSWORD: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}

0 commit comments

Comments
 (0)