From 8740502929449912a2f76f99aed33bd2ad54e064 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 21 Oct 2026 11:46:09 +0000 Subject: ci(bundle): cache Rust dependencies on Windows and macOS Cache compiled dependencies after toolchain selection and save them even when a later smoke check fails. Rebuild project crates for each checkout. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/nightly-build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.github') diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 9264d3f..371353c 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -232,6 +232,12 @@ jobs: - uses: dtolnay/rust-toolchain@stable + - name: Cache desktop Rust dependencies + uses: Swatinem/rust-cache@v2.9.3 + with: + workspaces: bundle/src-tauri -> target + cache-on-failure: true + - name: Build and test the macOS desktop package working-directory: bundle run: | @@ -403,6 +409,12 @@ jobs: - uses: dtolnay/rust-toolchain@stable + - name: Cache desktop Rust dependencies + uses: Swatinem/rust-cache@v2.9.3 + with: + workspaces: bundle/src-tauri -> target + cache-on-failure: true + - name: Build and test the Windows desktop package working-directory: bundle run: | -- cgit v1.3.1-4-g156e