Interview Prep/GitHub Actions/Workflow Anatomy & Execution Model

What is the difference between a step's `outcome` and `conclusion`?

IntermediateConceptWorkflow Anatomy & Execution Model
Answer

steps.<id>.outcome is the real result before continue-on-error is applied; steps.<id>.conclusion is the result after. With continue-on-error: true a failing step has outcome == 'failure' and conclusion == 'success'. Use outcome to react to soft failures:

- id: e2e
  continue-on-error: true
  run: npm run e2e
- if: steps.e2e.outcome == 'failure'
  run: echo "::warning::E2E failed, not blocking"
All GitHub Actions questions Roadmap: GitHub Actions

More on Workflow Anatomy & Execution Model