Black Friday Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam GitHub-Actions All Questions
Exam GitHub-Actions All Questions

View all questions & answers for the GitHub-Actions exam

GitHub GitHub-Actions Question # 6 Topic 1 Discussion

GitHub-Actions Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

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?


A.

Configure a self-hosted runner on Windows with the requested tools.


B.

Use the YAML powershell: step.


C.

Run the pwsh2bash command to convert the script so it can be run on Linux.


D.

Use the YAML shell: pwsh in a run step.


E.

Use the actions/run-powershell action to invoke the script.


Get Premium GitHub-Actions Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.