mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* core.getInput() receives "required" option
This commit is contained in:
parent
bff7726dad
commit
aba9d05fc7
3 changed files with 14 additions and 6 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue