GitHub
GITHUB-ACTIONS · Question #10
GITHUB-ACTIONS Question #10: Real Exam Question with Answer & Explanation
Sign in or unlock GITHUB-ACTIONS to reveal the answer and full explanation for question #10. The question stem and answer options stay visible for context.
Question
A development team has been using a Powershell script to compile and package their solution using existing tools on a Linux VM, which has been configured as a self-hosted runner. They would like to use the script as-is in an automated workflow. Which of the following should they do to invoke their script within a workflow step?
Options
- AConfigure a self-hosted runner on Windows with the requested tools.
- BUse the YAML powershell: step.
- CRun the pwsh2bash command to convert the script so it can be run on Linux.
- DUse the YAML shell: pwsh in a run step.
- EUse the actions/run-powershell action to invoke the script.
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.