Skip to content

Commit ed9d792

Browse files
casc84abclaude
andcommitted
ci: add CI / release / maven-central workflows
Add the standard reusable-workflow stubs (java-ci, java-release, java-publish-maven-central) so tagging this module publishes it to GitHub Packages and Maven Central. These were missing on the new security platform repos, which blocked the 26.06.x release cascade. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1a47e32 commit ed9d792

3 files changed

Lines changed: 78 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [develop, main]
5+
paths-ignore:
6+
- '**.md'
7+
- 'docs/**'
8+
- 'tutorials/**'
9+
- 'examples/**/README.md'
10+
- 'LICENSE'
11+
- '.gitignore'
12+
pull_request:
13+
branches: [develop, main]
14+
paths-ignore:
15+
- '**.md'
16+
- 'docs/**'
17+
- 'tutorials/**'
18+
- 'examples/**/README.md'
19+
- 'LICENSE'
20+
- '.gitignore'
21+
workflow_dispatch:
22+
inputs:
23+
triggered-by:
24+
description: 'Orchestrator run ID'
25+
required: false
26+
type: string
27+
jobs:
28+
build:
29+
uses: fireflyframework/.github/.github/workflows/java-ci.yml@main
30+
permissions:
31+
packages: read
32+
contents: read
33+
with:
34+
java-version: '25'
35+
secrets: inherit
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+

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
on:
3+
push:
4+
tags: ['v*']
5+
workflow_dispatch:
6+
inputs:
7+
triggered-by:
8+
description: 'Orchestrator run ID'
9+
required: false
10+
type: string
11+
jobs:
12+
release:
13+
uses: fireflyframework/.github/.github/workflows/java-release.yml@main
14+
with:
15+
java-version: '25'
16+
permissions:
17+
contents: write
18+
packages: write
19+
actions: write
20+
secrets: inherit

0 commit comments

Comments
 (0)