Skip to content

Commit ef81e23

Browse files
authored
fix: disable cache if build-info is requested (#7358)
1 parent e74d632 commit ef81e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/config/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ impl Config {
678678
})
679679
.set_auto_detect(self.is_auto_detect())
680680
.set_offline(self.offline)
681-
.set_cached(cached)
681+
.set_cached(cached && !self.build_info)
682682
.set_build_info(!no_artifacts && self.build_info)
683683
.set_no_artifacts(no_artifacts)
684684
.build()?;

0 commit comments

Comments
 (0)