GitHub Foundations — Question 2

As a developer, you are designing a workflow and need to communicate with the runner machine to set environment variables, output values used by other actions, add debug messages to the output logs, and other tasks. Which of the following options should you use?

Answer options

Correct answer: E

Explanation

The correct answer is E, workflow commands, because they provide a standardized way to communicate with the runner for various tasks. Options A, B, C, and D do not cover all the functionalities required, such as sending output values and debug messages effectively.