3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-06-26 02:00:35 +00:00

Add source-keyed target cache

This commit is contained in:
Gary Sassano 2026-06-14 00:45:34 +02:00
parent c106961fee
commit c020f6afef
No known key found for this signature in database
GPG key ID: F8FE82821AD22F8F
12 changed files with 420 additions and 141 deletions

View file

@ -44,6 +44,9 @@ inputs:
description: "Similar to cache-all-crates. If `true` the workspace crates will be cached."
required: false
default: "false"
target-key:
description: "An additional key for source-keyed target caching. When set together with cache-targets and cache-workspace-crates, workspace target directories are cached separately using this key."
required: false
save-if:
description: "Determiners whether the cache should be saved. If `false`, the cache is only restored."
required: false