Use core.getBooleanInput

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-06-22 10:39:55 +02:00
parent e2346b6971
commit 4fd5d8ead6
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
6 changed files with 34 additions and 7 deletions

View file

@ -4,7 +4,7 @@ export interface Inputs {
registry: string;
username: string;
password: string;
logout: string;
logout: boolean;
}
export function getInputs(): Inputs {
@ -12,6 +12,6 @@ export function getInputs(): Inputs {
registry: core.getInput('registry'),
username: core.getInput('username'),
password: core.getInput('password'),
logout: core.getInput('logout')
logout: core.getBooleanInput('logout')
};
}