ssh-agent-action/dist
Oktawian Chojnacki df2f741a87
Provide gitPath for Windows to avoid failures on windows-2022 (GitHub-hosted runner) (#137)
### Problem:
Observed error on `windows-2022` ([GitHub-hosted runner](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)) that `git` command cannot be found.

### Issue: 

Cannot find git executable on on windows-2022 (GitHub-hosted runner) #136 

### Solution:
This path improvement makes use of existing `path.js` to resolve and return correct `git.exe` path for Windows, leaving the executable name as it was for other operating systems.

### Caveats:
No idea how and why this `c://progra~1//git//usr//bin//git.exe` mumbo-jumbo works but it apparently did for other executables so figured it should work for `git.exe` (and it does).
2022-10-19 13:27:50 +02:00
..
cleanup.js Provide gitPath for Windows to avoid failures on windows-2022 (GitHub-hosted runner) (#137) 2022-10-19 13:27:50 +02:00
index.js Provide gitPath for Windows to avoid failures on windows-2022 (GitHub-hosted runner) (#137) 2022-10-19 13:27:50 +02:00