Câu 23: GitHub Actions
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 work…
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- 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. — đáp án hiện tại
- E. Use the actions/run-powershell action to invoke the script.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.