GitHub
GITHUB-ACTIONS · Question #40
GITHUB-ACTIONS Question #40: Real Exam Question with Answer & Explanation
Sign in or unlock GITHUB-ACTIONS to reveal the answer and full explanation for question #40. The question stem and answer options stay visible for context.
Question
As a DevOps engineer developing a JavaScript action, you need to include annotations to pass warning messages to workflow runners. Which code snippet can you use to implement an annotation in your Actions?
Options
- Acore.info('Something went wrong, but it's not bad enough to fail the build.')
- Bcore.notice('Something went wrong, but it's not bad enough to fail the build.')
- Ccore.warning('Something went wrong, but it's not bad enough to fail the build.')
- Dcore.warn('Something went wrong, but it's not bad enough to fail the build.')
Unlock GITHUB-ACTIONS to see the answer
You've previewed enough free GITHUB-ACTIONS questions. Unlock GITHUB-ACTIONS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.