Skip to content

Commit c177b4a

Browse files
committed
[ci] publish-release: increase timeout for maven deploy
Default is 1800 seconds (30 minutes) https://central.sonatype.org/publish/publish-portal-maven/#waitmaxtime Follow-up on #69
1 parent 8f3831d commit c177b4a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
name: maven-central
8080
url: https://repo.maven.apache.org/maven2/net/sourceforge/pmd/pmd-build-tools-config/
8181
runs-on: ubuntu-latest
82-
timeout-minutes: 20
82+
timeout-minutes: 180
8383
defaults:
8484
run:
8585
shell: bash

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
<pmd.version>7.14.0</pmd.version> <!-- pmd version used for tests -->
4343
<surefire.version>3.5.3</surefire.version>
4444
<junit.version>5.13.1</junit.version>
45+
46+
<central-publishing.waitMaxTime>10800</central-publishing.waitMaxTime> <!-- 10800s = 180min = 3h -->
4547
</properties>
4648

4749
<dependencyManagement>
@@ -278,6 +280,7 @@
278280
<autoPublish>true</autoPublish>
279281
<waitUntil>published</waitUntil>
280282
<deploymentName>${project.artifactId}</deploymentName>
283+
<waitMaxTime>${central-publishing.waitMaxTime}</waitMaxTime>
281284
</configuration>
282285
</plugin>
283286
</plugins>

0 commit comments

Comments
 (0)