From 1d9cd520ef7851cbb25b44c6b39daa9beb63676e Mon Sep 17 00:00:00 2001 From: lights0123 Date: Sun, 27 Sep 2020 15:08:00 -0400 Subject: [PATCH] ...and restore too --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c2372a..e84a4ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ matrix.platform }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | - ${{ runner.os }}-yarn- + ${{ matrix.platform }}-yarn- - uses: actions/cache@v2 with: path: | @@ -35,7 +35,7 @@ jobs: src-tauri/target key: ${{ matrix.platform }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: | - ${{ runner.os }}-cargo- + ${{ matrix.platform }}-cargo- - name: setup node uses: actions/setup-node@v1 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a961ee9..a773f4a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,7 +24,7 @@ jobs: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ matrix.platform }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | - ${{ runner.os }}-yarn- + ${{ matrix.platform }}-yarn- - uses: actions/cache@v2 with: path: | @@ -34,7 +34,7 @@ jobs: src-tauri/target key: ${{ matrix.platform }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: | - ${{ runner.os }}-cargo- + ${{ matrix.platform }}-cargo- - name: setup node uses: actions/setup-node@v1 with: