mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-15 00:28:43 +00:00
Conform to local style.
Fix a few whitespace nits.
This commit is contained in:
parent
9f195d91fe
commit
5ea9070fd2
|
@ -180,6 +180,6 @@ to see those details as well as further details related to caching operations.
|
|||
|
||||
- The cache cleaning process currently removes all the files from `~/.cargo/bin`
|
||||
that were present before the action ran (for example `rustc`), by default.
|
||||
This can be an issue on long-running self-hosted runners, where such state
|
||||
This can be an issue on long-running self-hosted runners, where such state
|
||||
is expected to be preserved across runs. You can work around this by setting
|
||||
`cache-bin: "false"`.
|
||||
|
|
|
@ -41,8 +41,9 @@ inputs:
|
|||
required: false
|
||||
default: "github"
|
||||
cache-bin:
|
||||
description: "A boolean value indicating whether to cache ${CARGO_HOME}/bin (default: true)"
|
||||
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
|
||||
|
|
|
@ -133,7 +133,7 @@ export class CacheConfig {
|
|||
workspaces.push(new Workspace(root, target));
|
||||
}
|
||||
self.workspaces = workspaces;
|
||||
|
||||
|
||||
let keyFiles = await globFiles(".cargo/config.toml\nrust-toolchain\nrust-toolchain.toml");
|
||||
const parsedKeyFiles = []; // keyFiles that are parsed, pre-processed and hashed
|
||||
|
||||
|
|
Loading…
Reference in a new issue