Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
excitoon committed Apr 24, 2019
1 parent 6aab0c2 commit ef7fe3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public CacheHandle lookup(Spawn spawn, SpawnExecutionContext context)
try (SilentCloseable c = Profiler.instance().profile("RemoteCache.getCachedActionResult")) {
result = remoteCache.getCachedActionResult(actionKey);
}
if (result != null) {
if (result != null && (result.getOutputFilesCount() + result.getOutputDirectoriesCount() > 0)) {
// We don't cache failed actions, so we know the outputs exist.
// For now, download all outputs locally; in the future, we can reuse the digests to
// just update the TreeNodeRepository and continue the build.
Expand Down

0 comments on commit ef7fe3d

Please sign in to comment.