From 4a88932aff749da30446e50f8e79da27241aa78b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Wed, 18 Feb 2026 22:44:47 +0100 Subject: [PATCH] Add the release param to disable the release creation. --- .github/workflows/ant.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml index fee0cc7..f8bb1bd 100644 --- a/.github/workflows/ant.yml +++ b/.github/workflows/ant.yml @@ -56,6 +56,11 @@ on: default: '' required: false description: "A variable used for developing the GitHub Action. See actions/checkout@v4." + release: + type: boolean + default: true + required: false + description: "Perform the release creation if a tag is pushed" outputs: tag: description: "The release tag" @@ -274,7 +279,7 @@ jobs: release: runs-on: ${{ inputs.operating-system }} needs: [create_tag, plugin-build, plugin-test, josm-build] - if: ${{ startsWith(github.ref, 'refs/tags/') || inputs.perform-revision-tagging }} + if: ${{ (startsWith(github.ref, 'refs/tags/') && inputs.release) || inputs.perform-revision-tagging }} steps: - name: Get build id: cache-plugin-build