Files
app/.github/actions/cache-windows-rust-tools/action.yml
T
denis0001-dev 926343e90e Fix Gradle and Rust cache save failures on parallel release jobs.
Use scope-specific Gradle cache paths, global release concurrency, Rust v3 key with v1/v2 fallbacks, and ensure Android SDK cache dirs exist before save.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:23:40 +03:00

25 lines
765 B
YAML

name: Restore Windows Rust build cache
description: Restore Cargo registry, git checkouts, and the windows-setup target directory
outputs:
cache-hit:
description: Whether an exact cache key match was restored
value: ${{ steps.cache.outputs.cache-hit }}
runs:
using: composite
steps:
- uses: actions/cache/restore@v5
id: cache
with:
path: |
~/.cargo/registry
~/.cargo/git
app/desktop/windows-setup/target
key: windows-rust-${{ runner.os }}-v3-${{ hashFiles('app/desktop/windows-setup/Cargo.lock') }}
restore-keys: |
windows-rust-${{ runner.os }}-v3-
windows-rust-${{ runner.os }}-v2-
windows-rust-tools-v1-
cargo-registry-${{ runner.os }}-