Skip to main content

write_github_output

Function write_github_output 

Source
pub fn write_github_output(plan: &CiPlan, path: &Path) -> Result<()>
Expand description

Write matrix as a JSON line for $GITHUB_OUTPUT.

ยงErrors

Returns an error when the matrix cannot be encoded as JSON, or when the file at path cannot be opened or written.