mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-12-22 20:38:22 -05:00
fix: fix rust.yml caching
This commit is contained in:
parent
c2262cc38a
commit
ed82943702
20
.github/workflows/rust.yml
vendored
20
.github/workflows/rust.yml
vendored
@ -20,14 +20,20 @@ jobs:
|
||||
- stable
|
||||
|
||||
steps:
|
||||
- name: Cache Rust compilation
|
||||
uses: metalbear-co/sccache-action@v1
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup toolchain install stable --profile minimal
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Optional, default is `sccache-`
|
||||
cache-from: sccache-${{ runner.os }}-
|
||||
# Optional, default is `sccache-latest`
|
||||
cache-to: sccache-${{ runner.os }}-${{ github.sha }}
|
||||
prefix-key: ""
|
||||
shared-key: ""
|
||||
key: ""
|
||||
env-vars: ""
|
||||
workspaces: ""
|
||||
cache-directories: ""
|
||||
cache-targets: ""
|
||||
cache-on-failure: ""
|
||||
cache-all-crates: ""
|
||||
save-if: ""
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
- name: Build
|
||||
|
Loading…
Reference in New Issue
Block a user