From 9c79487ca7af66f360873a15dcd0dd652433ad96 Mon Sep 17 00:00:00 2001 From: THEROER Date: Sat, 4 Jul 2026 14:00:26 +0300 Subject: [PATCH] fix(ci): declare the version input on publish-maven release.yml dispatches publish-maven.yml with -f version=..., but the workflow declared no inputs, so the dispatch failed with HTTP 422. Declare an optional version input (informational; the published version is resolved from the checked-out gradle.properties). --- .github/workflows/publish-maven.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-maven.yml b/.github/workflows/publish-maven.yml index 4ff31b49..7094fd49 100644 --- a/.github/workflows/publish-maven.yml +++ b/.github/workflows/publish-maven.yml @@ -3,8 +3,15 @@ name: publish-maven on: # Dispatched by release.yml after the tag is created (documentation moved to # the separate MagicUtilsWebsite project, so there is no docs workflow to chain - # from anymore). Also runnable manually. + # from anymore). Also runnable manually. The version is resolved from the + # checked-out gradle.properties; the input exists only so release.yml can pass + # it through for traceability without a dispatch error. workflow_dispatch: + inputs: + version: + description: "Release version being published (informational)" + required: false + default: "" # Publishing targets the self-hosted Reposilite (maven.theroer.dev) over HTTPS, # so no repository write access to this GitHub repo is needed anymore.