mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
keep_ssh_dir
is optional...
This commit is contained in:
parent
4f9c73a958
commit
dfd8f832aa
2 changed files with 2 additions and 2 deletions
|
@ -2951,7 +2951,7 @@ function shouldCreateKeyFile(keyFilePath, ifKeyExists) {
|
|||
*/
|
||||
function shouldRemoveSshDirectory() {
|
||||
const keepsSshDir = core.getInput("keep_ssh_dir", {
|
||||
required: true,
|
||||
required: false,
|
||||
});
|
||||
// empty string or falsy value in YAML
|
||||
switch (keepsSshDir.toLowerCase()) {
|
||||
|
|
|
@ -246,7 +246,7 @@ function shouldCreateKeyFile(keyFilePath: string, ifKeyExists: string): boolean
|
|||
*/
|
||||
function shouldRemoveSshDirectory(): boolean {
|
||||
const keepsSshDir = core.getInput("keep_ssh_dir", {
|
||||
required: true,
|
||||
required: false,
|
||||
});
|
||||
|
||||
// empty string or falsy value in YAML
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue