Skip to content

Commit dcce0f0

Browse files
committed
fix cache failing to find Cargo.toml
1 parent 7602bd2 commit dcce0f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
path: |
3131
~/.cargo
3232
./target
33-
key: ${{ runner.os }}-cargo-${{ matrix.platform.target }}-${{ hashFiles('Cargo.toml') }}
33+
key: ${{ runner.os }}-cargo-${{ matrix.platform.target }}-${{ hashFiles('**/Cargo.toml') }}
3434
restore-keys: ${{ runner.os }}-cargo-${{ matrix.platform.target }}
3535
- name: Install Rust toolchain
3636
uses: dtolnay/rust-toolchain@stable

0 commit comments

Comments
 (0)