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

* rename known-hosts to known_hosts

This commit is contained in:
shimataro 2020-01-18 17:57:47 +09:00
parent 262b0e5f7b
commit 59969d7443
No known key found for this signature in database
GPG key ID: BE92C05736911A9D
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ inputs:
description: "SSH key file name (default: id_rsa)" description: "SSH key file name (default: id_rsa)"
required: false required: false
default: "id_rsa" default: "id_rsa"
known-hosts: known_hosts:
description: "public keys of SSH servers" description: "public keys of SSH servers"
required: false required: false
default: "" default: ""

View file

@ -28,7 +28,7 @@ function main() {
}, },
{ {
name: "known_hosts", name: "known_hosts",
contents: prependLf(core.getInput("known-hosts")), contents: prependLf(core.getInput("known_hosts")),
options: { options: {
mode: 0o644, mode: 0o644,
flag: "a", flag: "a",

View file

@ -30,7 +30,7 @@ function main(): void
}, },
{ {
name: "known_hosts", name: "known_hosts",
contents: prependLf(core.getInput("known-hosts")), contents: prependLf(core.getInput("known_hosts")),
options: { options: {
mode: 0o644, mode: 0o644,
flag: "a", flag: "a",