GitHub
GITHUB-ACTIONS · Question #37
GITHUB-ACTIONS Question #37: Real Exam Question with Answer & Explanation
Sign in or unlock GITHUB-ACTIONS to reveal the answer and full explanation for question #37. The question stem and answer options stay visible for context.
Question
Which run: command will set a step's output?
Options
- Arun: echo "MY_OUTPUT=foo" >> $GITHUB_OUTPUT
- Brun: export MY_OUTPUT=foo
- Crun: echo ${{ $GITHUB_OUTPUT=foo }}
- Drun: echo "::set-env name=MY OUTPUT::foo"
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.