Skip to content

Commit 0afadcd

Browse files
authored
Update maven.yml
1 parent f988bc5 commit 0afadcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
4040

4141
- name: Publish to Apache Maven Central
42-
run: mvn -X -e -Dgpg.passphrase=MAVEN_GPG_PASSPHRASE --batch-mode deploy
42+
run: mvn -X -e --batch-mode clean release:prepare release:perform
4343
env:
4444
MAVEN_USERNAME: javaquery
4545
MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)