diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-21 11:46:09 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-21 11:46:09 +0000 |
| commit | 8740502929449912a2f76f99aed33bd2ad54e064 (patch) | |
| tree | b7230a0af72db6a417ad86ecce590ad174495338 /.github | |
| parent | 9e869d4652937536695416cac3757e26598aac13 (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/nightly-build.yml | 12 |
1 files changed, 12 insertions, 0 deletions
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: | |
