refactor: replace core.getBooleanInput with getInput

This commit is contained in:
Alfi Maulana
2024-08-06 16:22:27 +07:00
parent bf49a53fb3
commit 7f54b1b0e1
3 changed files with 8 additions and 20 deletions

2
dist/index.js generated vendored
View File

@@ -26774,7 +26774,7 @@ function getInputs() {
cxxFlags: (0,core.getMultilineInput)("cxx-flags").join(" "),
options: (0,core.getMultilineInput)("options").flatMap((opts) => opts.split(" ")),
args: (0,core.getMultilineInput)("args").flatMap((args) => args.split(" ")),
runBuild: (0,core.getBooleanInput)("run-build"),
runBuild: getInput("run-build") == "true",
buildArgs: (0,core.getMultilineInput)("build-args").flatMap((args) => args.split(" ")),
};
}