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 "* revert options of getInput()""

This reverts commit 7ec9b1eed9.
This commit is contained in:
shimataro 2019-12-22 21:30:43 +09:00
parent d6e08e88de
commit 2d465d6497
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",