From 0be2ef2eabe9c0605c4f04d54f4183408aae5f55 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Tue, 25 Feb 2025 12:38:36 +0100 Subject: [PATCH 1/2] chore: Enable debug logs in deploy task --- .github/workflows/release.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 }} From b24b75c298e09dd3f9b782f8c8b9259d89d5ca62 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Tue, 25 Feb 2025 12:39:45 +0100 Subject: [PATCH 2/2] chore: Increase deploy timeout --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) 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