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

Revert "* revert options of getInput()"

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

View file

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