mirror of
https://github.com/Swatinem/rust-cache
synced 2026-02-25 20:51:26 +00:00
Allow opting out of caching CARGO_HOME/bin.
Prevents wiping the bin directory, which is harmful for self-hosted runners.
This commit is contained in:
parent
8f842c2d45
commit
5ed697a689
5 changed files with 69 additions and 15 deletions
|
|
@ -40,6 +40,9 @@ inputs:
|
|||
description: "Determines which provider to use for caching. Options are github or buildjet, defaults to github."
|
||||
required: false
|
||||
default: "github"
|
||||
cache-bin:
|
||||
description: "A boolean value indicating whether to cache ${CARGO_HOME}/bin (default: true)"
|
||||
required: false
|
||||
outputs:
|
||||
cache-hit:
|
||||
description: "A boolean value that indicates an exact match was found."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue