QuestionQ7

Author and maintain actions

What can be used to mark an action as failed from within its code?

  • A JavaScript dist/ folder
  • B composite run step
  • C output variable
  • D a non-zero exit code
  • E Dockerfile CMD
  • F @actions/github toolkit
Explanation

GitHub Actions sets an action’s check-run status from its exit code. An exit code other than 0 produces a failure status.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!