diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e475d275..db302379 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,13 +28,12 @@ jobs:
gpg-passphrase: GPG_PASSPHRASE
- name: Publish with Maven deploy
- run: >
- mvn
- --batch-mode
- --activate-profiles deploy
- --settings $GITHUB_WORKSPACE/settings.xml
- -Pcoverage
- clean deploy
+ run: |
+ if [ "${{ env.ACTIONS_STEP_DEBUG }}" == "true" ]; then
+ mvn --batch-mode --activate-profiles deploy --settings $GITHUB_WORKSPACE/settings.xml -Pcoverage clean deploy -X
+ else
+ mvn --batch-mode --activate-profiles deploy --settings $GITHUB_WORKSPACE/settings.xml -Pcoverage clean deploy
+ fi
env:
MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
diff --git a/pom.xml b/pom.xml
index a5c12397..9a471f58 100644
--- a/pom.xml
+++ b/pom.xml
@@ -365,6 +365,8 @@
ossrh
https://oss.sonatype.org/
true
+ 600000
+ 600000