diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 407ec2493..b781624a7 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -277,7 +277,9 @@ jobs: - name: Cache target uses: actions/cache@v3 with: - path: ~/.cargo + path: | + ~/.cargo + target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: | ${{ runner.os }}-cargo-