put configure behind a group

This commit is contained in:
jyn 2023-07-09 22:14:48 -05:00
parent dcd8d376cb
commit 9851a141a3
2 changed files with 5 additions and 1 deletions

View File

@ -550,6 +550,8 @@ if __name__ == "__main__":
# If 'config.toml' already exists, exit the script at this point
quit_if_file_exists('config.toml')
if "GITHUB_ACTIONS" in os.environ:
print("::group::Configure the build")
p("processing command line")
# Parse all known arguments into a configuration structure that reflects the
# TOML we're going to write out
@ -572,3 +574,5 @@ if __name__ == "__main__":
p("")
p("run `python {}/x.py --help`".format(rust_dir))
if "GITHUB_ACTIONS" in os.environ:
print("::endgroup::")

View File

@ -7,7 +7,7 @@ use std::{
process::{Command, Stdio},
};
use build_helper::{util::try_run, ci::CiEnv};
use build_helper::{ci::CiEnv, util::try_run};
use once_cell::sync::OnceCell;
use xz2::bufread::XzDecoder;