Configure these repository secrets:
MAVEN_CENTRAL_USERNAMEMAVEN_CENTRAL_PASSWORDGPG_PRIVATE_KEYGPG_PASSPHRASE
Automatic on every push to main, or manually:
- Go to Actions → "LangChain4J CDI Snapshot Release"
- Click "Run workflow" → Select
mainbranch → "Run workflow"
- Go to Actions → "Publish a new release"
- Click "Run workflow"
- Enter:
- Release version: e.g.,
1.2.0 - Next version: e.g.,
1.3.0(snapshot suffix added automatically)
- Release version: e.g.,
- Click "Run workflow"
The workflow will:
- Build and test the code
- Release to Maven Central
- Create a GitHub release with auto-generated notes