Skip to content

Commit 6d9cee5

Browse files
author
David Osorio
committed
ci: change Build and publish to OSSRH step
1 parent c4dd2c4 commit 6d9cee5

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,9 @@ jobs:
3434

3535
- name: Build and publish to OSSRH
3636
run: |
37-
mvn -B -U \
38-
-Pci-cd \
39-
release:prepare release:perform \
40-
-DskipTests \
41-
-Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }} \
42-
-DossrhUsername=${{ secrets.MAVEN_OSSRH_USERNAME }} \
43-
-DossrhPassword=${{ secrets.MAVEN_OSSRH_PASSWORD }}
37+
mvn deploy -Pci-cd -DskipTests \
38+
-Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }} \
39+
-DossrhUsername=${{ secrets.MAVEN_OSSRH_USERNAME }} \
40+
-DossrhPassword=${{ secrets.MAVEN_OSSRH_PASSWORD }}
4441
env:
4542
GPG_EXECUTABLE: gpg

0 commit comments

Comments
 (0)