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

* revert options of getInput()

This commit is contained in:
shimataro 2019-12-22 20:37:43 +09:00
parent aba9d05fc7
commit 39351ede4e
No known key found for this signature in database
GPG key ID: BE92C05736911A9D
3 changed files with 5 additions and 13 deletions

View file

@ -20,16 +20,12 @@ function main() {
{
name: name,
mode: 0o400,
contents: core.getInput("private-key", {
required: true,
}),
contents: core.getInput("private-key"),
},
{
name: `${name}.pub`,
mode: 0o444,
contents: core.getInput("public-key", {
required: true,
}),
contents: core.getInput("public-key"),
},
{
name: "known_hosts",