ci: fix cache key

This commit is contained in:
spacemeowx2 2020-12-05 18:46:42 +08:00
parent 67815d5582
commit 28334c2cfb

View File

@ -26,9 +26,9 @@ jobs:
uses: actions/cache@v1
with:
path: target/
key: ${{ matrix.os }}-stable-target
key: ${{ matrix.os }}-stable-target-v1
restore-keys: |
${{ matrix.os }}-stable-target
${{ matrix.os }}-stable-target-v1
- name: Setup toolchain
uses: actions-rs/toolchain@v1
with:
@ -64,9 +64,9 @@ jobs:
uses: actions/cache@v1
with:
path: target/
key: ${{ matrix.os }}-stable-target
key: ${{ matrix.target }}-stable-target-v1
restore-keys: |
${{ matrix.os }}-stable-target
${{ matrix.target }}-stable-target-v1
- name: Setup toolchain
uses: actions-rs/toolchain@v1
with: