GitHub
GITHUB-ACTIONS · Question #58
Which workflow command would output the debug message "action successfully debugged"?
The correct answer is C. echo "::debug::action successfully debugged". The ::debug:: syntax is used to output debug messages in GitHub Actions workflows. This command will print the message "action successfully debugged" in the debug logs when the
GitHub Actions - Workflow Commands
Question
Which workflow command would output the debug message "action successfully debugged"?
Options
- Aecho :debug::message=action successfully debugged"
- Becho "debug-action successfully debugged"
- Cecho "::debug::action successfully debugged"
- Decho ":debug:action successfully debugged:"
How the community answered
(49 responses)- A2% (1)
- B4% (2)
- C92% (45)
- D2% (1)
Explanation
The ::debug:: syntax is used to output debug messages in GitHub Actions workflows. This command will print the message "action successfully debugged" in the debug logs when the
Topics
#workflow commands#debug messages#logging#workflow syntax
Community Discussion
No community discussion yet for this question.