mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -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
|
- stable
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Cache Rust compilation
|
- uses: actions/checkout@v3
|
||||||
uses: metalbear-co/sccache-action@v1
|
- run: rustup toolchain install stable --profile minimal
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
prefix-key: ""
|
||||||
# Optional, default is `sccache-`
|
shared-key: ""
|
||||||
cache-from: sccache-${{ runner.os }}-
|
key: ""
|
||||||
# Optional, default is `sccache-latest`
|
env-vars: ""
|
||||||
cache-to: sccache-${{ runner.os }}-${{ github.sha }}
|
workspaces: ""
|
||||||
|
cache-directories: ""
|
||||||
|
cache-targets: ""
|
||||||
|
cache-on-failure: ""
|
||||||
|
cache-all-crates: ""
|
||||||
|
save-if: ""
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||||
- name: Build
|
- name: Build
|
||||||
|
Loading…
Reference in New Issue
Block a user