Skip to content

Commit faca783

Browse files
authored
Merge pull request #93 from crazy-max/bool-input
Use `core.getBooleanInput`
2 parents c0e291b + dffa649 commit faca783

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export async function getInputs(): Promise<Inputs> {
2424
buildkitdFlags:
2525
core.getInput('buildkitd-flags') ||
2626
'--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
27-
install: /true/i.test(core.getInput('install')),
28-
use: /true/i.test(core.getInput('use')),
27+
install: core.getBooleanInput('install'),
28+
use: core.getBooleanInput('use'),
2929
endpoint: core.getInput('endpoint'),
3030
config: core.getInput('config')
3131
};

0 commit comments

Comments
 (0)