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:
parent
0a7dc1c09f
commit
8a9e20a586
3 changed files with 3 additions and 3 deletions
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'
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue