Use core.getBooleanInput

This commit is contained in:
CrazyMax
2021-05-26 15:22:18 +02:00
parent e0c37242bd
commit 41a29e21ad
6 changed files with 11 additions and 12 deletions

View File

@@ -188,7 +188,7 @@ describe('setOutput', () => {
});
});
// See: https://github.com/actions/toolkit/blob/master/packages/core/src/core.ts#L67
// See: https://github.com/actions/toolkit/blob/a1b068ec31a042ff1e10a522d8fdf0b8869d53ca/packages/core/src/core.ts#L89
function getInputName(name: string): string {
return `INPUT_${name.replace(/ /g, '_').toUpperCase()}`;
}