Created
September 27, 2024 13:19
-
-
Save Jordan-Hall/5743969938cefc4fa462c86c96b5c3d0 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