Add desktop platform support #11
1 changed files with 9 additions and 13 deletions
|
|
@ -24,7 +24,6 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
target
|
|
||||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
cargo-${{ runner.os }}-
|
cargo-${{ runner.os }}-
|
||||||
|
|
@ -33,10 +32,11 @@ jobs:
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /root/.cache/sccache
|
path: /root/.cache/sccache
|
||||||
# Not keyed to Cargo.lock: sccache caches individual compiler
|
# Keyed to Cargo.lock, not github.run_id: a per-run key never
|
||||||
# invocations by content hash, so it should accumulate across
|
# gets an exact hit, so actions/cache re-uploads the full
|
||||||
# dependency bumps rather than reset like the target/ cache above.
|
# sccache dir on every single run even when nothing changed.
|
||||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
# This still refreshes whenever dependencies bump.
|
||||||
|
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
sccache-${{ runner.os }}-
|
sccache-${{ runner.os }}-
|
||||||
|
|
||||||
|
|
@ -54,7 +54,6 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
target
|
|
||||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
cargo-${{ runner.os }}-
|
cargo-${{ runner.os }}-
|
||||||
|
|
@ -63,7 +62,7 @@ jobs:
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /root/.cache/sccache
|
path: /root/.cache/sccache
|
||||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
sccache-${{ runner.os }}-
|
sccache-${{ runner.os }}-
|
||||||
|
|
||||||
|
|
@ -81,7 +80,6 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
target
|
|
||||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
cargo-${{ runner.os }}-
|
cargo-${{ runner.os }}-
|
||||||
|
|
@ -90,7 +88,7 @@ jobs:
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /root/.cache/sccache
|
path: /root/.cache/sccache
|
||||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
sccache-${{ runner.os }}-
|
sccache-${{ runner.os }}-
|
||||||
|
|
||||||
|
|
@ -115,7 +113,6 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
target
|
|
||||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
cargo-${{ runner.os }}-
|
cargo-${{ runner.os }}-
|
||||||
|
|
@ -124,7 +121,7 @@ jobs:
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /root/.cache/sccache
|
path: /root/.cache/sccache
|
||||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
sccache-${{ runner.os }}-
|
sccache-${{ runner.os }}-
|
||||||
|
|
||||||
|
|
@ -143,7 +140,6 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
target
|
|
||||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
cargo-${{ runner.os }}-
|
cargo-${{ runner.os }}-
|
||||||
|
|
@ -152,7 +148,7 @@ jobs:
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /root/.cache/sccache
|
path: /root/.cache/sccache
|
||||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
sccache-${{ runner.os }}-
|
sccache-${{ runner.os }}-
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue