Skip to content

Commit 115a259

Browse files
authored
chore: use token to publishing (#46)
1 parent 9157e9b commit 115a259

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/mvn_publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,9 @@ jobs:
3030
server-id: ossrh
3131
server-username: MAVEN_USERNAME
3232
server-password: MAVEN_PASSWORD
33-
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
34-
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
3533

3634
- name: Build with Maven
3735
run: mvn clean deploy --batch-mode -DskipTests -P release -B -U -e
3836
env:
3937
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
4038
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
41-
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)