Skip to content

Commit

Permalink
Merge pull request #93 from crazy-max/bool-input
Browse files Browse the repository at this point in the history
Use `core.getBooleanInput`
  • Loading branch information
crazy-max committed Jun 23, 2021
2 parents c0e291b + dffa649 commit faca783
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export async function getInputs(): Promise<Inputs> {
buildkitdFlags:
core.getInput('buildkitd-flags') ||
'--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
install: /true/i.test(core.getInput('install')),
use: /true/i.test(core.getInput('use')),
install: core.getBooleanInput('install'),
use: core.getBooleanInput('use'),
endpoint: core.getInput('endpoint'),
config: core.getInput('config')
};
Expand Down

0 comments on commit faca783

Please sign in to comment.