GitHub Actions Certificate Exam GitHub-Actions Question # 19 Topic 2 Discussion

GitHub Actions Certificate Exam GitHub-Actions Question # 19 Topic 2 Discussion

GitHub-Actions Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

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?

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?


A.

core.info('Something went wrong, but it\'s not bad enough to fail the build.')


B.

core.notice('Something went wrong, but it\’s not bad enough to fail the build.')


C.

core.warning('Something went wrong, but it\'s not bad enough to fail the build.')


D.

core.warn('Something went wrong, but it\'s not bad enough to fail the build.')


Get Premium GitHub-Actions Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.