Skip to content

Commit 0306513

Browse files
committed
Update deploy flags
Update deploy flags to skip tests and to pass in the gpg passphrase.
1 parent 0f4f7bd commit 0306513

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
gpg-passphrase: MAVEN_GPG_PASSPHRASE
3131

3232
- name: Publish to Maven Central
33-
run: mvn deploy
33+
run: mvn -DskipTests deploy -Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }}
3434
env:
3535
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3636
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)