File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ const key = core.getInput('key');
385385console . log ( `Attempting to create ${ socketPath } ...` ) ;
386386try {
387387 execSync (
388- 'mkdir ~/.ssh && ' +
388+ 'mkdir -p ~/.ssh && ' +
389389 `ssh-keyscan${ port ? ` -p ${ port } ` : '' } "${ host } " >> ~/.ssh/known_hosts && ` +
390390 `eval $(ssh-agent -a "${ socketPath } ") && ` +
391391 `echo "${ key } " | base64 -d | ssh-add -`
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const key = core.getInput('key');
1010console . log ( `Attempting to create ${ socketPath } ...` ) ;
1111try {
1212 execSync (
13- 'mkdir ~/.ssh && ' +
13+ 'mkdir -p ~/.ssh && ' +
1414 `ssh-keyscan${ port ? ` -p ${ port } ` : '' } "${ host } " >> ~/.ssh/known_hosts && ` +
1515 `eval $(ssh-agent -a "${ socketPath } ") && ` +
1616 `echo "${ key } " | base64 -d | ssh-add -`
You can’t perform that action at this time.
0 commit comments