Skip to content

Commit 5e852ef

Browse files
Andrés Contreras GuillénAndrés Contreras Guillén
authored andcommitted
ci: add decoupled Maven Central publish workflow
Tag pushes (v*) now fire this workflow in parallel with the slimmed java-release.yml. Maven Central polling timeouts (Sonatype Portal validation can take 20-40min) no longer block GitHub Packages publish or Release-page creation. workflow_dispatch enables retry without re-tagging.
1 parent 0498687 commit 5e852ef

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish to Maven Central
2+
3+
on:
4+
push:
5+
tags: ['v*']
6+
workflow_dispatch:
7+
inputs:
8+
wait-max-time:
9+
description: 'Sonatype Central polling wait time in seconds (default 3600)'
10+
required: false
11+
default: '3600'
12+
13+
jobs:
14+
maven-central:
15+
uses: fireflyframework/.github/.github/workflows/java-publish-maven-central.yml@main
16+
with:
17+
java-version: '25'
18+
wait-max-time: ${{ inputs.wait-max-time || '3600' }}
19+
permissions:
20+
contents: read
21+
packages: read
22+
secrets: inherit
23+

0 commit comments

Comments
 (0)