Skip to content

Commit be58432

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 #169
1 parent b662a0f commit be58432

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
name: maven-central
8282
url: https://repo.maven.apache.org/maven2/net/sourceforge/pmd/pmd-designer/
8383
runs-on: ubuntu-latest
84-
timeout-minutes: 20
84+
timeout-minutes: 180
8585
permissions:
8686
contents: write # to create a release (via gh cli)
8787
defaults:

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080

8181
<jflex-output>${project.build.directory}/generated-sources/jflex</jflex-output>
8282

83+
<central-publishing.waitMaxTime>10800</central-publishing.waitMaxTime> <!-- 10800s = 180min = 3h -->
8384
</properties>
8485

8586
<build>
@@ -396,6 +397,7 @@
396397
<autoPublish>true</autoPublish>
397398
<waitUntil>published</waitUntil>
398399
<deploymentName>${project.artifactId}</deploymentName>
400+
<waitMaxTime>${central-publishing.waitMaxTime}</waitMaxTime>
399401
</configuration>
400402
</plugin>
401403

0 commit comments

Comments
 (0)