1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

test no_known_hosts parameter

This commit is contained in:
shimataro 2021-03-08 17:09:37 +09:00
parent be34738386
commit 9ce25420b4
No known key found for this signature in database
GPG key ID: BE92C05736911A9D
4 changed files with 35 additions and 0 deletions

View file

@ -437,6 +437,9 @@ function main() {
});
const config = core.getInput("config");
const ifKeyExists = core.getInput("if_key_exists");
// test
const noKnownHosts = core.getInput("no_known_hosts");
console.log(noKnownHosts);
// create ".ssh" directory
const home = getHomeDirectory();
const dirName = path_1.default.resolve(home, ".ssh");