Skip to content

Commit 8153f5b

Browse files
committed
put configure behind a group
1 parent 301ef43 commit 8153f5b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/bootstrap/configure.py

+4
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,8 @@ def quit_if_file_exists(file):
550550
# If 'config.toml' already exists, exit the script at this point
551551
quit_if_file_exists('config.toml')
552552

553+
if "GITHUB_ACTIONS" in os.environ:
554+
print("::group::Configure the build")
553555
p("processing command line")
554556
# Parse all known arguments into a configuration structure that reflects the
555557
# TOML we're going to write out
@@ -572,3 +574,5 @@ def quit_if_file_exists(file):
572574

573575
p("")
574576
p("run `python {}/x.py --help`".format(rust_dir))
577+
if "GITHUB_ACTIONS" in os.environ:
578+
print("::endgroup::")

src/bootstrap/download.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::{
77
process::{Command, Stdio},
88
};
99

10-
use build_helper::{util::try_run, ci::CiEnv};
10+
use build_helper::{ci::CiEnv, util::try_run};
1111
use once_cell::sync::OnceCell;
1212
use xz2::bufread::XzDecoder;
1313

0 commit comments

Comments
 (0)