Improvement

October 17, 20191 Minute Read

GitHub Actions default shell on Windows runners is changing to PowerShell

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!

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

GitHub Actions default shell on Windows runners is changing to PowerShell - GitHub Changelog