Observed error on windows-2022 (GitHub-hosted runner) that git command cannot be found:
Config:
- uses: actions/checkout@v2
- uses: webfactory/ssh-agent@v0.5.4
with:
ssh-private-key: |
${{ secrets.[redacted] }}
${{ secrets.[redacted] }}
Result:
'git' is not recognized as an internal or external command,
[198](https://github.com/[redacted]#step:4:199)
operable program or batch file.
[199](https://github.com/[redacted]#step:4:200)
Error: Command failed: git config --global --replace-all url."git@key-[redacted].[redacted]".insteadOf "https://github.com/[redacted]"
[200](https://github.com/[redacted]#step:4:201)
'git' is not recognized as an internal or external command,
[201](https://github.com/[redacted]#step:4:202)
operable program or batch file.