Skip to content

Commit

Permalink
improve caching on all builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelchcki committed Sep 13, 2022
1 parent 167fbce commit a9dfe92
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/cache/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ runs:
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/
~/.cargo/git/db/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/bin/
target/
key: v1-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}-${{ inputs.rust_version }}-${{ inputs.build_profile }}
key: v1-${{ runner.os }}-cargo-${{ inputs.rust_version }}-${{ hashFiles('**/Cargo.toml') }}-${{ inputs.build_profile }}
restore-keys: |
v1-${{ runner.os }}-cargo-${{ inputs.rust_version }}-${{ hashFiles('**/Cargo.toml') }}-
v1-${{ runner.os }}-cargo-${{ inputs.rust_version }}-

0 comments on commit a9dfe92

Please sign in to comment.