1
0
Fork 0

Fix cache conflicts with AArch64

This commit is contained in:
Robbert van der Helm 2022-06-23 19:02:21 +02:00
parent 8018af419f
commit 7d4cafb33d

View file

@ -42,15 +42,13 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
# FIXME: In combination with `actions-rs/toolchain@v1` this may
# somehow cause the AArch64 version of rustup to end up here
# ~/.cargo/bin/
path: | path: |
~/.cargo/bin/
~/.cargo/registry/index/ ~/.cargo/registry/index/
~/.cargo/registry/cache/ ~/.cargo/registry/cache/
~/.cargo/git/db/ ~/.cargo/git/db/
target/ target/
key: ${{ runner.name }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.name }}-${{ matrix.cross-target }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Set up Rust toolchain - name: Set up Rust toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1