Skip to content

Commit

Permalink
chore: Enable debug logs and increased timeout for deployment (#217)
Browse files Browse the repository at this point in the history
* chore: Enable debug logs in deploy task

* chore: Increase deploy timeout
  • Loading branch information
Abhi347 authored Feb 25, 2025
1 parent 0b01d87 commit 0d09e0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<connectTimeout>600000</connectTimeout> <!-- 10 minutes -->
<readTimeout>600000</readTimeout> <!-- 10 minutes -->
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 0d09e0d

Please sign in to comment.