Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

CI: skip Windows release cache saves (#8325)

Wasim Yousef Said3bbed688a8e2
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml
index 18f7a53b338..05fc683581d 100644
--- a/.github/workflows/release-desktop.yml
+++ b/.github/workflows/release-desktop.yml
@@ -744,6 +744,10 @@ jobs:
with:
workspaces: 'studio/src-tauri -> target'
+ # Windows release builds can spend many minutes uploading the target cache
+ # after signed artifacts are ready, which blocks the publisher for no release benefit.
+ save-if: ${{ matrix.platform != 'windows-latest' }}
+
# ── macOS: fail before the build if notarization cannot run ──
- name: Check Apple notarization credentials
if: matrix.platform == 'macos-latest'
diff --git a/tests/security/test_release_desktop_integrity.py b/tests/security/test_release_desktop_integrity.py
index cd1f244133e..2f5315aee71 100644
--- a/tests/security/test_release_desktop_integrity.py
+++ b/tests/security/test_release_desktop_integrity.py
@@ -37,6 +37,12 @@ def _step(workflow, job, name):
return _steps(workflow, job)[_step_index(workflow, job, name)]
+def test_windows_release_build_restores_but_does_not_save_rust_cache():
+ cache = _step(_workflow(), "build", "Rust cache")
+ assert cache["with"]["workspaces"] == "studio/src-tauri -> target"
+ assert cache["with"]["save-if"] == "${{ matrix.platform != 'windows-latest' }}"
+
+
def _write_fake_gh(path: Path):
"""Record gh arguments and return configured statuses."""
path.write_text(