@devries-cameron20 / t3code-1 / commits / ca920d5cdb
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

ci(release): Linux desktop builds reuse cached AppImage, FPM, and 7-Zip downloads (#33142)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Theo Browne committed Nov 8, 2026 at 19:49 UTC ca920d5cdba5521b7f5ad813cbe38b2829fcb81a
1 file changed +14
.github/workflows/release-desktop.yml
+14
@@ -210,6 +210,20 @@ jobs:
210 native/hyprland-snap-shot/target/${{ inputs.rust_target }}/release/t3-hyprland-snap-shot
211 key: linux-capture-helpers-${{ inputs.rust_target }}-${{ hashFiles('native/kde-snap-shot/Cargo.lock', 'native/kde-snap-shot/Cargo.toml', 'native/kde-snap-shot/src/**', 'native/hyprland-snap-shot/Cargo.lock', 'native/hyprland-snap-shot/Cargo.toml', 'native/hyprland-snap-shot/src/**', 'native/hyprland-snap-shot/protocols/**') }}
212
213 + # Every Linux build makes electron-builder fetch the AppImage runtime, FPM
214 + # for the deb, and the 7-Zip that unpacks FPM from GitHub releases. It
215 + # checks an archive found here against the SHA-256 pinned in those toolset
216 + # files and downloads again on a mismatch, so only raw archives are cached.
217 + - name: Cache Linux packaging tool archives
218 + if: inputs.platform == 'linux'
219 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
220 + with:
221 + path: |
222 + ~/.cache/electron-builder/appimage@*/appimage-tools-runtime-*.tar.gz
223 + ~/.cache/electron-builder/fpm@*/fpm-*.7z
224 + ~/.cache/electron-builder/7zip@*/7zip-linux-*.tar.gz
225 + key: electron-builder-linux-tools-${{ inputs.arch }}-${{ hashFiles('node_modules/.pnpm/app-builder-lib@*/node_modules/app-builder-lib/out/toolsets/linux.js', 'node_modules/.pnpm/app-builder-lib@*/node_modules/app-builder-lib/out/toolsets/7zip.js') }}
226 +
227 - name: Ensure Rosetta for macOS x64 bytecode generation
228 if: inputs.platform == 'mac' && inputs.arch == 'x64'
229 shell: bash