From 4e4698be7b632b044fcbd708fb28410afdec56bc Mon Sep 17 00:00:00 2001 From: "Aleksei (Faumaray) Selikhov" Date: Sun, 6 Dec 2026 07:43:51 +0300 Subject: [PATCH] ci: dispatch the release job only for release refs always() made the release job queue on every push (and a queued job for a removed runner label hangs the run forever). Use the tag/publish condition directly; the Windows package download stays optional. --- .gitea/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 219f91c..1352762 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -368,11 +368,10 @@ jobs: # --------------------------------------------------------------------------- release: name: "5 ยท Release" - # Linked to both package lanes. While the Wine-hosted Windows suite is still - # maturing, the Windows download is optional and always() keeps the Linux - # release runnable; tighten both once the Windows lane is green. + # Linked to both package lanes and only dispatched for a release tag or an + # explicit publish dispatch (always() would queue the job on every push). needs: [linux-package, wine-package] - if: always() && (startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish == 'true') + if: startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish == 'true' runs-on: vulkan steps: - uses: actions/checkout@v4