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:
parent
262b0e5f7b
commit
59969d7443
3 changed files with 3 additions and 3 deletions
|
@ -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: ""
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue