about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2023-07-13 00:41:00 -0500
committerjyn <github@jyn.dev>2023-07-14 17:32:27 -0500
commit02ae14c9725eae0919007b16a0e48422e3ba9715 (patch)
treeb9bf3d96a12cfa1cda7460b9d761bc61e10e0551
parentce843aa24cf8dc6a26746f86179d8453b1b76426 (diff)
downloadrust-02ae14c9725eae0919007b16a0e48422e3ba9715.tar.gz
rust-02ae14c9725eae0919007b16a0e48422e3ba9715.zip
fix another GHA log panic
-rw-r--r--src/bootstrap/doc.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index 8ceaadbefac..c793b79a97c 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -220,6 +220,9 @@ impl Step for TheBook {
         // build the version info page and CSS
         let shared_assets = builder.ensure(SharedAssets { target });
 
+        // build the command first so we don't nest GHA groups
+        builder.rustdoc_cmd(compiler);
+
         // build the redirect pages
         let _guard = builder.msg_doc(compiler, "book redirect pages", target);
         for file in t!(fs::read_dir(builder.src.join(&relative_path).join("redirects"))) {