Skip to content
Discussion options

You must be logged in to vote

Do this (easiest + most reliable):

Install Git for Windows on the runner.

In your workflow, force Git Bash:

defaults:
  run:
    shell: '"C:\\Program Files\\Git\\bin\\bash.exe" -eo pipefail -c'

That bypasses WSL entirely and fixes the shell: bash failure.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Latency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Actions Runner For issues and discussions related to the Actions Runner project Misc General discussions about GitHub Actions that don't fit other found themes.
2 participants