File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff 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::" )
Original file line number Diff line number Diff 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 } ;
1111use once_cell:: sync:: OnceCell ;
1212use xz2:: bufread:: XzDecoder ;
1313
You can’t perform that action at this time.
0 commit comments