From 5ba00ab4ef354b352a75a3dd6dd9193a332e9b2f Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Thu, 9 Jul 2026 12:09:54 -0600 Subject: [PATCH] ci(linux): save the amd64 slint-linux cache on main (was never written) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-linux had save-if:false deferring cache writes to build-slint.yml, which no longer runs — so the amd64 `slint-linux` dep cache was never created and every release/snap amd64 build ran fully cold (no dep cache; qbz_ui recompiles regardless). release-linux-aarch64 already saves (save-if:true), which is why only the aarch64 cache existed. Save on main so pre-flights warm it and tag runs restore it. cc --- .github/workflows/release-linux.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml index b7a7bf4b6..92958ab13 100644 --- a/.github/workflows/release-linux.yml +++ b/.github/workflows/release-linux.yml @@ -138,8 +138,11 @@ jobs: workspaces: crates -> target shared-key: slint-linux cache-on-failure: true - # Releases only READ the cache; build-slint.yml owns writing it. - save-if: false + # Own the amd64 `slint-linux` cache: save on main so pre-flights warm + # it and tag/PR runs restore it. build-slint.yml no longer runs, so + # deferring to it (save-if: false) left the amd64 dep cache EMPTY and + # every release/snap amd64 build fully cold. Mirrors release-linux-aarch64. + save-if: ${{ github.ref == 'refs/heads/main' }} - name: Build (release, MIN memory tier) env: