mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-09-22 19:15:05 +03:00
926343e90e
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>
25 lines
765 B
YAML
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 }}-
|