mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 13:08:42 +00:00
Reconfigure CI cache with fallbacks (#240)
This commit is contained in:
parent
ef2752cd42
commit
310c07d9c8
1 changed files with 11 additions and 6 deletions
|
@ -80,7 +80,7 @@ jobs:
|
||||||
|
|
||||||
- name: Configure toolchain
|
- name: Configure toolchain
|
||||||
run: |
|
run: |
|
||||||
rustup toolchain install --profile minimal nightly
|
rustup toolchain install --profile minimal --no-self-update nightly
|
||||||
rustup default nightly
|
rustup default nightly
|
||||||
|
|
||||||
- name: Install cross
|
- name: Install cross
|
||||||
|
@ -103,13 +103,18 @@ jobs:
|
||||||
| tee -a $GITHUB_ENV
|
| tee -a $GITHUB_ENV
|
||||||
|
|
||||||
- name: Configure caching
|
- name: Configure caching
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ${{ matrix.os }}-${{ matrix.target }}
|
|
||||||
path: |
|
path: |
|
||||||
${{ env.HOME }}/.cargo/git
|
~/.cargo/registry/index/
|
||||||
${{ env.HOME }}/.cargo/registry
|
~/.cargo/registry/cache/
|
||||||
target
|
~/.cargo/git/db/
|
||||||
|
target/
|
||||||
|
key: ${{ runner.os }}-cargo-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}-${{ env.COUTPUT }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-cargo-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
${{ runner.os }}-cargo-${{ matrix.target }}-
|
||||||
|
${{ runner.os }}-cargo-
|
||||||
|
|
||||||
- name: Install musl-tools
|
- name: Install musl-tools
|
||||||
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
|
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue