`Error: Unable to process file command 'output' successfully. Error: Invalid format ' "items": ['`
IntermediateTroubleshootingExpressions, Outputs, Matrix & Conditions
Answer
Likely causes → Multiline value (pretty JSON) written as name=value without the delimiter syntax.
Diagnose → Look at how the step writes the output.
Fix → Compact the JSON (jq -c) or use a delimiter:
echo "matrix=$(jq -c . matrix.json)" >> "$GITHUB_OUTPUT"
Prevent → Always jq -c JSON destined for outputs.
More on Expressions, Outputs, Matrix & Conditions
A downstream job reads `needs.build.outputs.digest` and gets an empty string.Intermediate`Warning: Skip output 'image' since it may contain secret.`Advanced`Error when evaluating 'strategy' for job 'build'. .github/workflows/ci.yml (Line: 30, Col: 15): Matrix vector 'service' does not contain any values`Intermediate`Error reading JToken from JsonReader. Path '', line 0, position 0.`Advanced`if: github.event.inputs.deploy == true` never runs the step, even when the box is ticked.BeginnerDeploy job is always "skipped" even though build succeeded.Intermediate