mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-04-16 06:17:24 +08:00
commit
4d1295c53b
2
index.js
2
index.js
@ -7,7 +7,7 @@ try {
|
||||
const home = process.env['HOME'];
|
||||
const homeSsh = home + '/.ssh';
|
||||
|
||||
const privateKey = core.getInput('ssh-private-key').trim();
|
||||
const privateKey = core.getInput('ssh-private-key');
|
||||
|
||||
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.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user