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: