Understand runner dependencies and requirements
mainThe runner's capabilities depend on the environment and the type of GitHub Action being executed:
Shell Requirements
- Composite/Run steps: Uses
bash(preferred),sh, or an explicit shell in yourPATH. On Windows,pwsh(preferred) andpowershellare the defaults. - Inside Docker containers: Uses
shor an explicit shell in the container'sPATH.
NodeJS Requirements
- For compatibility with existing Node.js actions, ensure Node.js version 20 is in your
PATHbefore running the runner. Newer versions may cause workflow failures.
Docker Requirements
- To use Docker actions or service containers, a reachable Docker daemon must be available. You can specify a remote host using the
DOCKER_HOSTenvironment variable.