What can be used to set a failed status of an action from its code?
A.
@actions/github toolkit
B.
JavaScript dist/ folder
C.
Dockerfile CMD
D.
a non-zero exit code
E.
output variable
F.
composite run step
The Answer Is:
D
This question includes an explanation.
Explanation:
A non-zero exit code is used to set the status of an action to "failed" in GitHub Actions. When the action's script or code exits with a non-zero status, it indicates failure, and GitHub will mark the action as failed.
GH-200 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"