Skip to content

Commit 317fa4c

Browse files
committed
Override GITHUB_ACTIONS=0 for tidy tests
1 parent 8fa5fc6 commit 317fa4c

File tree

1 file changed

+3
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+3
-0
lines changed

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3146,6 +3146,9 @@ impl Step for Distcheck {
31463146
.run(builder);
31473147
command(helpers::make(&builder.config.host_target.triple))
31483148
.arg("check")
3149+
// Do not run the build as if we were in CI, otherwise git would be assumed to be
3150+
// present, but we build from a tarball here
3151+
.env("GITHUB_ACTIONS", "0")
31493152
.current_dir(&plain_src_dir)
31503153
.run(builder);
31513154

0 commit comments

Comments
 (0)