Skip to content

Commit

Permalink
Tweak script order.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wenger committed Mar 25, 2024
1 parent 8fcaca5 commit bcbaa87
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
echo "BEARER_TOKEN=${token}" >> $GITHUB_ENV
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
run: mvn --batch-mode --update-snapshots verify -DprofileIdEnabled=true -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -Psign-artifacts

- name: Update resources
uses: test-room-7/action-update-file@v1
Expand All @@ -55,11 +55,7 @@ jobs:

- name: Publish to Maven Central
run: |
mvn --no-transfer-progress --batch-mode deploy -X \
-DprofileIdEnabled=true \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
-DskipTests \
-Psign-artifacts
mvn --no-transfer-progress --batch-mode deploy -X -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

0 comments on commit bcbaa87

Please sign in to comment.