From f0a0e6c7a63d551e8c472c4337675cc60ee7caee Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 11 Nov 2020 17:45:01 +0100 Subject: [PATCH] Change cache to use the whole target folder Signed-off-by: trivernis --- .github/workflows/rust.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 740593f..fd7d403 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -25,7 +25,6 @@ jobs: ~/.cargo/ key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }} restore-keys: | - ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }} ${{ runner.os }}-cargo- - name: Build run: cargo build --verbose @@ -51,10 +50,7 @@ jobs: uses: actions/cache@v2 with: path: | - /tmp/.buildx-cache - target/**/build - target/**/deps - target/**/incremental + target ~/.cargo/ key: ${{ runner.os }}-cargo-${{ matrix.target }}-${{ hashFiles('Cargo.lock') }} restore-keys: |