From f8fd6edfbb9ca799dbb36c58e0dc4dabfe0999aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Contreras=20Guill=C3=A9n?= Date: Tue, 19 May 2026 21:00:25 +0200 Subject: [PATCH] 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. --- .github/workflows/maven-central.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/maven-central.yml diff --git a/.github/workflows/maven-central.yml b/.github/workflows/maven-central.yml new file mode 100644 index 0000000..cad6c4d --- /dev/null +++ b/.github/workflows/maven-central.yml @@ -0,0 +1,23 @@ +name: Publish to Maven Central + +on: + push: + tags: ['v*'] + workflow_dispatch: + inputs: + wait-max-time: + description: 'Sonatype Central polling wait time in seconds (default 3600)' + required: false + default: '3600' + +jobs: + maven-central: + uses: fireflyframework/.github/.github/workflows/java-publish-maven-central.yml@main + with: + java-version: '25' + wait-max-time: ${{ inputs.wait-max-time || '3600' }} + permissions: + contents: read + packages: read + secrets: inherit +