mirror of
https://github.com/Swatinem/rust-cache
synced 2025-11-08 00:15:06 +00:00
Only key by Cargo.toml and Cargo.lock files of workspace members (#180)
This commit is contained in:
parent
b1db5f9d5f
commit
d30f1144e8
7 changed files with 88 additions and 62 deletions
|
|
@ -36,7 +36,7 @@ async function run() {
|
|||
|
||||
const allPackages = [];
|
||||
for (const workspace of config.workspaces) {
|
||||
const packages = await workspace.getPackages();
|
||||
const packages = await workspace.getPackagesOutsideWorkspaceRoot();
|
||||
allPackages.push(...packages);
|
||||
try {
|
||||
core.info(`... Cleaning ${workspace.target} ...`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue