Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0cb7129

Browse files
committed
Disable dependency caching by default on hosted runners for now
1 parent 79faaf1 commit 0cb7129

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

lib/caching-utils.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/caching-utils.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/caching-utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export function getDependencyCachingEnabled(): CachingKind {
8484
// Disable in advanced workflows by default.
8585
if (!isDefaultSetup()) return CachingKind.None;
8686

87-
// On hosted runners, enable dependency caching by default
88-
return CachingKind.Full;
87+
// On hosted runners, disable dependency caching by default.
88+
// TODO: Review later whether we can enable this by default.
89+
return CachingKind.None;
8990
}

0 commit comments

Comments
 (0)