Skip to content

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!

In order to align the experience of linking to Actions log lines and linking to code we have made the line numbers in Actions logs links. Previously, we showed a button when the line was hovered that would copy a link to the line number to your clipboard.

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

See more

GitHub Actions are triggered by webhook events. The original payload of the event is stored in a file that actions can read at workflow/event.json (see the docs). We’ve made a slight change to the payload for push events in Actions. The following attributes have been removed from the commits section of push payloads for Actions:

  • added
  • removed
  • modified

These diffs can instead be requested using the API https://developer.github.com/v3/repos/commits/#get-a-single-commit.

See more