mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-06-28 05:33:45 +00:00
Avoid using a separate shell
This commit is contained in:
parent
f03f6e3358
commit
2bcaae34da
3 changed files with 3 additions and 9 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -166,12 +166,9 @@ try {
|
|||
const matches = /^(SSH_AUTH_SOCK|SSH_AGENT_PID)=(.*); export \1/.exec(lines[lineNumber])
|
||||
if (matches && matches.length > 0) {
|
||||
core.exportVariable(matches[1], matches[2])
|
||||
process.env[matches[1]] = matches[2]; // use variables for ssh-add below
|
||||
}
|
||||
}
|
||||
|
||||
console.log(process.env);
|
||||
|
||||
console.log("Adding private keys to agent");
|
||||
var keyNumber = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue