From 28334c2cfba8849ed39f94d7753a17ca54a43eef Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Sat, 5 Dec 2020 18:46:42 +0800 Subject: [PATCH] ci: fix cache key --- .github/workflows/rust.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 397c6c4..fa9b139 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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: