Which shell is used?

Which shell are Github Action using?
It looks like it is not bash, since if [[ … ]] does not work, for example.
Is it sh, dash?
Is it possible to use bash instead?

It should be using Bash by default if you’re not on a Windows runner and it’s available (e.g. some container images might not have it). You can always select a specific shell with the shell parameter for the run step.

You can see the defaults and more details here: Using a specific shell

1 Like