ci: dispatch the release job only for release refs
VoidBuildSystem CI / 1 · Requirements (push) Failing after 3s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Skipped
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Skipped
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 3A · Linux test (debug) (push) Skipped
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (debug) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (sanitizers) (push) Skipped
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Skipped
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Skipped
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 4B · Windows package (debug) (push) Skipped
VoidBuildSystem CI / 4B · Windows package (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped

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.
This commit is contained in:
faumaray committed 2026-12-06 07:43:51 +03:00
1 parent 51d437d339
commit 4e4698be7b
1 file changed
+3 -4
+3 -4
View File
@@ -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