Skip to content

ci: move GitHub release creation into its own job - #70

Merged
alexgerardojacinto merged 1 commit into
mainfrom
chore/RMET-5634/split-release-job
Nov 26, 2026
Merged

alexgerardojacinto merged 1 commit into
mainfrom
chore/RMET-5634/split-release-job

Conversation

@alexgerardojacinto

Copy link
Copy Markdown
Collaborator

Follow-up to the review feedback on the release-on-publish PR (RMET-5634).

  • The GitHub release step moves into its own create-release job (needs: publish-android).
  • Only create-release gets contents: write; the Gradle build job (signing key, Maven credentials) goes back to contents: read.
  • A failed release can be retried with "Re-run failed jobs" without republishing to Maven Central.
  • Behaviour is otherwise unchanged: it still only runs when a new version was published, from main or next.

Checked: workflow YAML parses, and the job if and outputs wiring are as intended. It can only be exercised by a real publish run.

Follow-up to the review feedback on the release-on-publish change: run the
release step in a separate create-release job (needs: publish-android) so only
that job gets contents: write. The Gradle build, which handles the signing key
and Maven credentials, keeps a read-only token, and a failed release can be
retried with "Re-run failed jobs" without republishing.
@alexgerardojacinto
alexgerardojacinto requested review from a team, ItsChaceD and andredestro and removed request for a team November 25, 2026 13:06
@alexgerardojacinto
alexgerardojacinto merged commit ad2f5c4 into main Nov 26, 2026
7 checks passed
@alexgerardojacinto
alexgerardojacinto deleted the chore/RMET-5634/split-release-job branch November 26, 2026 13:28
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