diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index b3fa2d6..fe1389b 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -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 @@ -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 }}