ci(linux): save the amd64 slint-linux cache on main (was never written)
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
This commit is contained in:
1 file changed
+5
-2
@@ -138,8 +138,11 @@ jobs:
|
|||||||
workspaces: crates -> target
|
workspaces: crates -> target
|
||||||
shared-key: slint-linux
|
shared-key: slint-linux
|
||||||
cache-on-failure: true
|
cache-on-failure: true
|
||||||
# Releases only READ the cache; build-slint.yml owns writing it.
|
# Own the amd64 `slint-linux` cache: save on main so pre-flights warm
|
||||||
save-if: false
|
# 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)
|
- name: Build (release, MIN memory tier)
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user