mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-04-05 01:19:08 +08:00
Fix path to git binary on Windows runners (#140)
This PR fixes an apparently wrong path to the `git` binary that was added in #136. According to https://github.com/actions/checkout/discussions/928#discussioncomment-3861581, the path should not contain the `usr/` part, although for `ssh-add` and `ssh-agent`, it has to.
This commit is contained in:
2
dist/cleanup.js
vendored
2
dist/cleanup.js
vendored
@@ -2835,7 +2835,7 @@ module.exports = (process.env['OS'] != 'Windows_NT') ? {
|
|||||||
homePath: os.homedir(),
|
homePath: os.homedir(),
|
||||||
sshAgentCmd: 'c://progra~1//git//usr//bin//ssh-agent.exe',
|
sshAgentCmd: 'c://progra~1//git//usr//bin//ssh-agent.exe',
|
||||||
sshAddCmd: 'c://progra~1//git//usr//bin//ssh-add.exe',
|
sshAddCmd: 'c://progra~1//git//usr//bin//ssh-add.exe',
|
||||||
gitCmd: 'c://progra~1//git//usr//bin//git.exe'
|
gitCmd: 'c://progra~1//git//bin//git.exe'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -2914,7 +2914,7 @@ module.exports = (process.env['OS'] != 'Windows_NT') ? {
|
|||||||
homePath: os.homedir(),
|
homePath: os.homedir(),
|
||||||
sshAgentCmd: 'c://progra~1//git//usr//bin//ssh-agent.exe',
|
sshAgentCmd: 'c://progra~1//git//usr//bin//ssh-agent.exe',
|
||||||
sshAddCmd: 'c://progra~1//git//usr//bin//ssh-add.exe',
|
sshAddCmd: 'c://progra~1//git//usr//bin//ssh-add.exe',
|
||||||
gitCmd: 'c://progra~1//git//usr//bin//git.exe'
|
gitCmd: 'c://progra~1//git//bin//git.exe'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
paths.js
2
paths.js
@@ -12,5 +12,5 @@ module.exports = (process.env['OS'] != 'Windows_NT') ? {
|
|||||||
homePath: os.homedir(),
|
homePath: os.homedir(),
|
||||||
sshAgentCmd: 'c://progra~1//git//usr//bin//ssh-agent.exe',
|
sshAgentCmd: 'c://progra~1//git//usr//bin//ssh-agent.exe',
|
||||||
sshAddCmd: 'c://progra~1//git//usr//bin//ssh-add.exe',
|
sshAddCmd: 'c://progra~1//git//usr//bin//ssh-add.exe',
|
||||||
gitCmd: 'c://progra~1//git//usr//bin//git.exe'
|
gitCmd: 'c://progra~1//git//bin//git.exe'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user