Skip to content

Commit

Permalink
fix: disable cache if build-info is requested (#7358)
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Mar 11, 2024
1 parent e74d632 commit ef81e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ impl Config {
})
.set_auto_detect(self.is_auto_detect())
.set_offline(self.offline)
.set_cached(cached)
.set_cached(cached && !self.build_info)
.set_build_info(!no_artifacts && self.build_info)
.set_no_artifacts(no_artifacts)
.build()?;
Expand Down

0 comments on commit ef81e23

Please sign in to comment.