mirror of
https://github.com/Swatinem/rust-cache
synced 2026-02-06 19:12:14 +00:00
Allow opting out of caching $CARGO_HOME/bin. (#216)
Prevents wiping the bin directory, which is harmful for self-hosted runners.
This commit is contained in:
parent
9a2e0d3212
commit
e8e63cdbf2
6 changed files with 59 additions and 15 deletions
|
|
@ -40,6 +40,10 @@ inputs:
|
|||
description: "Determines which provider to use for caching. Options are github or buildjet, defaults to github."
|
||||
required: false
|
||||
default: "github"
|
||||
cache-bin:
|
||||
description: "Determines whether to cache ${CARGO_HOME}/bin."
|
||||
required: false
|
||||
default: "true"
|
||||
lookup-only:
|
||||
description: "Check if a cache entry exists without downloading the cache"
|
||||
required: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue