Improvement
• 1 minute read

GitHub Actions default shell on Windows runners is changing to PowerShell

Summary

On 10/23/2019 we will change the default shell for the run step on Windows runners to PowerShell. If your run step contains Windows batch scripting you should update it to…

On 10/23/2019 we will change the default shell for the run step on Windows runners to PowerShell.

If your run step contains Windows batch scripting you should update it to specify cmd as the shell to avoid being broken.

- run: |
    ...
  shell: cmd

Learn more about scripts in GitHub Actions here.

If you have any questions or thoughts about these changes, we recommend sharing in our GitHub Community Forum’s Actions Board!

Back to top