mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-21 16:50:50 +00:00
Merge branch 'webfactory:master' into dpa/secrets
This commit is contained in:
commit
e14f51dda1
1 changed files with 3 additions and 3 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
@ -332,9 +332,9 @@ try {
|
||||||
const sshAddCmdInput = core.getInput('ssh-add-cmd');
|
const sshAddCmdInput = core.getInput('ssh-add-cmd');
|
||||||
const gitCmdInput = core.getInput('git-cmd');
|
const gitCmdInput = core.getInput('git-cmd');
|
||||||
|
|
||||||
const sshAgentCmd = sshAgentCmdInput ? sshAgentCmdInput : sshAgentCmdDefault
|
const sshAgentCmd = sshAgentCmdInput ? sshAgentCmdInput : sshAgentCmdDefault;
|
||||||
const sshAddCmd = sshAddCmdInput ? sshAddCmdInput : sshAddCmdDefault
|
const sshAddCmd = sshAddCmdInput ? sshAddCmdInput : sshAddCmdDefault;
|
||||||
const gitCmd = gitCmdInput ? gitCmdInput : gitCmdDefault
|
const gitCmd = gitCmdInput ? gitCmdInput : gitCmdDefault;
|
||||||
|
|
||||||
if (!privateKey) {
|
if (!privateKey) {
|
||||||
core.setFailed("The ssh-private-key argument is empty. Maybe the secret has not been configured, or you are using a wrong secret name in your workflow file.");
|
core.setFailed("The ssh-private-key argument is empty. Maybe the secret has not been configured, or you are using a wrong secret name in your workflow file.");
|
||||||
|
|
Loading…
Reference in a new issue