title: Provide password to GitHub Actions macOS self-hosted runner
body: <p>I have set up a CI build server using the GitHub Actions self-hosted runner instructions. Everything works fine until it reaches this instruction:</p>
  
  <pre><code>sudo xcode-select -switch /Applications/Xcode_11.5.app
  </code></pre>
  
  <p>it asks for my password inside the macOS Terminal. This defeats the purpose of a build server if I have to type in my password every single time this job runs. I've tried configuring the runner as a service but when I did that the job completely failed because it needs a terminal to ask for the password. </p>
  
  <p>Is there a way to set the password so the runner stops asking me every single time?</p>