ci: change cargo cache path

This commit is contained in:
spacemeowx2 2020-12-05 23:47:23 +08:00
parent ec55a9e220
commit 6fcae802fb

View File

@ -22,13 +22,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Cache Cargo build
- name: Cache Cargo
uses: actions/cache@v1
with:
path: target/
key: ${{ matrix.os }}-stable-target-v1
path: ~/.cargo
key: ${{ matrix.os }}-stable-cargo-v1
restore-keys: |
${{ matrix.os }}-stable-target-v1
${{ matrix.os }}-stable-cargo-v1
- name: Setup toolchain
uses: actions-rs/toolchain@v1
with:
@ -60,13 +60,13 @@ jobs:
- armv7-unknown-linux-gnueabihf
steps:
- uses: actions/checkout@v2
- name: Cache Cargo build
- name: Cache Cargo
uses: actions/cache@v1
with:
path: target/
key: ${{ matrix.target }}-stable-target-v1
path: ~/.cargo
key: ${{ matrix.target }}-stable-cargo-v1
restore-keys: |
${{ matrix.target }}-stable-target-v1
${{ matrix.target }}-stable-cargo-v1
- name: Setup toolchain
uses: actions-rs/toolchain@v1
with: