Skip to content

ci: run Maven Central publish in release environment - #168

Merged
anush008 merged 1 commit into
masterfrom
ci/release-environment
Oct 21, 2026
Merged

anush008 merged 1 commit into
masterfrom
ci/release-environment

Conversation

@generall

Copy link
Copy Markdown
Member

Adds environment: release to the publish job. The release environment only allows v* tags.

Maven Central has no trusted publishing, and the GPG signing key has to stay a secret, so the 5 ORG_GRADLE_PROJECT_* secrets move into the environment instead of being removed.

Safe to merge before the secrets are moved: a job in an environment still sees repo secrets.

🤖 Generated with Claude Code

Restricts the signing key and Sonatype credentials to v* tag refs once
they are moved to the environment.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@anush008
anush008 merged commit d4d78a8 into master Oct 21, 2026
2 checks passed
@anush008

Copy link
Copy Markdown
Member

@generall, sorry, I merged out of habit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants