A downstream job reads `needs.build.outputs.digest` and gets an empty string.
IntermediateTroubleshootingExpressions, Outputs, Matrix & Conditions
Answer
Likely causes → The job did not declare outputs: mapping, the step lacks an id, the step wrote to $GITHUB_OUTPUT with wrong format (spaces around =), the output name differs, or the output was dropped because it contained a secret.
Diagnose →
gh run view <id> --log | grep -i "skip output"
yq '.jobs.build.outputs' .github/workflows/cd.yml
Fix → Map outputs: digest: ${{ steps.push.outputs.digest }}, give the step id: push, write echo "digest=$D" >> "$GITHUB_OUTPUT".
Prevent → Print outputs to $GITHUB_STEP_SUMMARY in the producing job during development.
More on Expressions, Outputs, Matrix & Conditions
`Warning: Skip output 'image' since it may contain secret.`Advanced`Error: Unable to process file command 'output' successfully. Error: Invalid format ' "items": ['`Intermediate`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