mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-12-16 00:22:33 +00:00
On my self-hosted Windows runners, the `git`, `ssh-agent`, and `ssh-add`
commands are not located in the locations that are currently hard-coded
in `paths.js`.
With this PR, I am able to get this action to work on my runners as
follows:
```yaml
- uses: webfactory/ssh-agent@...
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
git-cmd: git
ssh-agent-cmd: ssh-agent
ssh-add-cmd: ssh-add
```
|
||
|---|---|---|
| .. | ||
| cleanup.js | ||
| index.js | ||