Skip to content

Commit 3ae9ef1

Browse files
committed
ci: minor refactor
1 parent 64a8a54 commit 3ae9ef1

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/test-maven-publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ jobs:
2626
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2727
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
2828

29-
- name: Test Full Deploy (No Publishing)
30-
run: mvn -B clean deploy -Pdeploy -Drevision=1.0.0-test -DskipPublishing=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
31-
3229
- name: Test Central Authentication
3330
run: |
3431
echo "Testing Central credentials..."
3532
curl -u "${{ secrets.MAVEN_USERNAME }}:${{ secrets.MAVEN_PASSWORD }}" \
36-
https://central.sonatype.com/service/local/user/org.sonatype.central/central-publishing-maven-plugin/0.8.0/publish
33+
https://central.sonatype.com/service/local/user/org.sonatype.central/central-publishing-maven-plugin/0.8.0/publish
34+
35+
- name: Test Full Deploy (No Publishing)
36+
run: mvn -B -e clean deploy -Pdeploy -Drevision=1.0.0-test -DskipPublishing=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
37+
38+

0 commit comments

Comments
 (0)