Skip to content

Commit 88b9985

Browse files
committed
Print GHA log groups to stdout instead of stderr
In all other places (e.g. `bootstrap.py`, `opt-dist`), we use stdout instead of stderr. I think that using stderr might be causing some discrepancies in the log, where sometimes the contents of a group "leak" outside the group. Let's see what happens if we use stdout instead. It's possible that it will be worse, since we print most stuff to stderr (?).
1 parent 2e6ac7f commit 88b9985

File tree

1 file changed

+3
-3
lines changed
  • src/tools/build_helper/src

1 file changed

+3
-3
lines changed

src/tools/build_helper/src/ci.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ pub mod gha {
8282

8383
fn start_group(name: impl std::fmt::Display) {
8484
if is_in_gha() {
85-
eprintln!("::group::{name}");
85+
println!("::group::{name}");
8686
} else {
87-
eprintln!("{name}")
87+
println!("{name}")
8888
}
8989
}
9090

9191
fn end_group() {
9292
if is_in_gha() {
93-
eprintln!("::endgroup::");
93+
println!("::endgroup::");
9494
}
9595
}
9696

0 commit comments

Comments
 (0)