-
-
Save maxisam/ebb0a06abe6fa8bd3bcba3b635f7a4fb to your computer and use it in GitHub Desktop.
Community remote cache support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/nx/src/tasks-runner/cache.js b/node_modules/nx/src/tasks-runner/cache.js | |
index 36a7089..a1b7809 100644 | |
--- a/node_modules/nx/src/tasks-runner/cache.js | |
+++ b/node_modules/nx/src/tasks-runner/cache.js | |
@@ -110,7 +110,8 @@ class DbCache { | |
} | |
} | |
else { | |
- return ((await this.getPowerpackS3Cache()) ?? | |
+ return ((await this.getPowerpackCache(nxJson.communityCache)) ?? | |
+ (await this.getPowerpackS3Cache()) ?? | |
(await this.getPowerpackSharedCache()) ?? | |
null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment