mirror of
https://github.com/Swatinem/rust-cache.git
synced 2024-11-22 13:57:10 +08:00
Remove superfluous comment
This commit is contained in:
parent
911e6ff671
commit
929b95c873
6
dist/restore/index.js
vendored
6
dist/restore/index.js
vendored
@ -88396,12 +88396,6 @@ class CacheConfig {
|
||||
self.keyFiles = sort_and_uniq(keyFiles);
|
||||
key += `-${lockHash}`;
|
||||
self.cacheKey = key;
|
||||
// The original action (https://github.com/Swatinem/rust-cache) cached the entire CARGO_HOME,
|
||||
// but cleaned out CARGO_HOME/bin of all binaries that weren't built by the CI run itself.
|
||||
// This had the unfortunate side-effect of nuking rustup/cargo/rustc etc from self-hosted runners.
|
||||
// (This is usually not a problem on hosted runners, since you get a fresh container on each run).
|
||||
// So we edit this action to not cache bin/, and to bypass cleaning that directory out.
|
||||
// TODO: Create an upstream patch for this, controlled by an option.
|
||||
self.cachePaths = [
|
||||
external_path_default().join(config_CARGO_HOME, "registry"),
|
||||
external_path_default().join(config_CARGO_HOME, "git"),
|
||||
|
6
dist/save/index.js
vendored
6
dist/save/index.js
vendored
@ -88396,12 +88396,6 @@ class CacheConfig {
|
||||
self.keyFiles = sort_and_uniq(keyFiles);
|
||||
key += `-${lockHash}`;
|
||||
self.cacheKey = key;
|
||||
// The original action (https://github.com/Swatinem/rust-cache) cached the entire CARGO_HOME,
|
||||
// but cleaned out CARGO_HOME/bin of all binaries that weren't built by the CI run itself.
|
||||
// This had the unfortunate side-effect of nuking rustup/cargo/rustc etc from self-hosted runners.
|
||||
// (This is usually not a problem on hosted runners, since you get a fresh container on each run).
|
||||
// So we edit this action to not cache bin/, and to bypass cleaning that directory out.
|
||||
// TODO: Create an upstream patch for this, controlled by an option.
|
||||
self.cachePaths = [
|
||||
external_path_default().join(CARGO_HOME, "registry"),
|
||||
external_path_default().join(CARGO_HOME, "git"),
|
||||
|
@ -239,12 +239,6 @@ export class CacheConfig {
|
||||
key += `-${lockHash}`;
|
||||
self.cacheKey = key;
|
||||
|
||||
// The original action (https://github.com/Swatinem/rust-cache) cached the entire CARGO_HOME,
|
||||
// but cleaned out CARGO_HOME/bin of all binaries that weren't built by the CI run itself.
|
||||
// This had the unfortunate side-effect of nuking rustup/cargo/rustc etc from self-hosted runners.
|
||||
// (This is usually not a problem on hosted runners, since you get a fresh container on each run).
|
||||
// So we edit this action to not cache bin/, and to bypass cleaning that directory out.
|
||||
// TODO: Create an upstream patch for this, controlled by an option.
|
||||
self.cachePaths = [
|
||||
path.join(CARGO_HOME, "registry"),
|
||||
path.join(CARGO_HOME, "git"),
|
||||
|
Loading…
Reference in New Issue
Block a user