Skip to content

ci(publish): manual dry run that cannot upload - #443

Merged
michalharakal merged 1 commit into
developfrom
ci/publish-dry-run
Sep 20, 2026
Merged

michalharakal merged 1 commit into
developfrom
ci/publish-dry-run

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

Same change as SKaiNET#1294, prompted by the engine 0.56.0 release whose first publish failed in a runner setup step that ordinary CI never exercises.

  • New trigger workflow_dispatch: a manually started run executes the same job — JDK, signing validation, full release build and signing — but ends in ./gradlew publishToMavenLocal on the runner. It gets the signing secrets and is never given mavenCentralUsername/Password, so it cannot upload.
  • Publish to MavenCentral now has if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/').
  • A summary step writes version / module / POM / signature counts to the job summary and fails if nothing, or nothing signed, was produced.

actionlint clean. The dry run cannot be started from this PR (GitHub only offers workflow_dispatch once the trigger is on the default branch); first use: the 0.56.0 release branch, before its tag.

workflow_dispatch runs the same release job (JDK, signing validation, full build and signing) but
ends in publishToMavenLocal and is never given the Maven Central credentials. The real publish
step now runs only on tag pushes. Lets a release branch prove the publish pipeline before the tag
exists; until now the workflow was only ever exercised by the tag push itself.
@michalharakal michalharakal mentioned this pull request Sep 20, 2026
@michalharakal
michalharakal merged commit 09304ae into develop Sep 20, 2026
2 checks passed
@michalharakal
michalharakal deleted the ci/publish-dry-run branch September 20, 2026 18:50
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.

1 participant