FuelLabs/sway

ci: handle mdbook build failures better

Open

#3,887 opened on Jan 25, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (61,702 stars) (5,421 forks)batch import
P: lowbugcigood first issue

Description

We have mdbook build steps in the CI that can be hard to troubleshoot upon failure:

image

Originally, this particular job was set up this way to emit logs because it would pass regardless of whether mdbook build succeeded or failed.

We should either fix the lack of logs being emitted here, or find another way to fail with logs if mdbook build fails.

Contributor guide