Which workflow commands send information from the runner? (Each correct answer presents a complete solution. Choose two.)
Select an option, then click Submit answer.
Reference / correct answer:
Most accepted answer: B. setting a debug message
Community votes: B=4, C=2, D=3
Selected Answer: BD In GitHub Actions, workflow commands are special instructions that a runner interprets to send information from the runner to GitHub Actions. Examples include setting outputs, setting debug messages, errors, warnings, and environment variables. upvoted 1 times
Selected Answer: BD Correct Answers: B, D Selected: B. Setting a debug message - ::debug:: workflow command sends debug information from action/step to runner logs D. Setting output parameters - ::set-output:: (or newer syntax) sends output values from step to make available to later steps Not Selected: A. Reading from environment variables - Reading is receiving information, not sending information from the runner C. Populating variables in a Dockerfile - Dockerfile operations happen during image build, not workflow command communication with runner upvoted 1 times
Selected Answer: BD B. setting a debug message Uses echo "::debug::message" Sends debug information from the runner to the GitHub Actions UI. D. setting output parameters Uses echo "name=value" >> $GITHUB_OUTPUT Sends values from the runner back to the workflow so that later steps or jobs can consume them. upvoted 1 times
Selected Answer: BC B. setting a debug message and D. setting output parameters upvoted 2 times
Selected Answer: C The answer is C. The keyword in the question is '[KEYWORD]'. upvoted 1 times