Start the live display of a command's output, titled `label`. This only affects the on-screen rendering: the raw output is always persisted to the runner log file. Returning `None` displays the output verbatim, which is what CI job logs expect.
(&self, label: &str)
| 55 | /// persisted to the runner log file. Returning `None` displays the output |
| 56 | /// verbatim, which is what CI job logs expect. |
| 57 | pub fn start_command_display(&self, label: &str) -> Option<RollingBufferGuard> { |
| 58 | match self { |
| 59 | RunEnvironment::Local => RollingBufferGuard::activate(label), |
| 60 | RunEnvironment::GithubActions |
| 61 | | RunEnvironment::GitlabCi |
| 62 | | RunEnvironment::Buildkite |
| 63 | | RunEnvironment::Circleci => None, |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | /// Authentication documentation, defined once so the messages that quote these |
no outgoing calls
no test coverage detected