diff --git a/dist/action.mjs b/dist/action.mjs index e3d167c..952274e 100644 --- a/dist/action.mjs +++ b/dist/action.mjs @@ -162,7 +162,7 @@ function getContext() { } input = getInput("options"); if (input) { - options.push(...parse(input).map((opt) => opt.toString())); + options.push(...parse(input).map((opt) => opt)); } return { sourceDir, @@ -170,11 +170,11 @@ function getContext() { configure: { generator: getInput("generator"), options, - args: parse(getInput("args")).map((arg) => arg.toString()), + args: parse(getInput("args")).map((arg) => arg), }, build: { enabled: getInput("run-build") == "true", - args: parse(getInput("build-args")).map((arg) => arg.toString()), + args: parse(getInput("build-args")).map((arg) => arg), }, }; } diff --git a/src/context.ts b/src/context.ts index 8d563ec..bfa6751 100644 --- a/src/context.ts +++ b/src/context.ts @@ -40,7 +40,7 @@ export function getContext(): Context { input = getInput("options"); if (input) { - options.push(...parse(input).map((opt) => opt.toString())); + options.push(...parse(input).map((opt) => opt)); } return { @@ -49,11 +49,11 @@ export function getContext(): Context { configure: { generator: getInput("generator"), options, - args: parse(getInput("args")).map((arg) => arg.toString()), + args: parse(getInput("args")).map((arg) => arg), }, build: { enabled: getInput("run-build") == "true", - args: parse(getInput("build-args")).map((arg) => arg.toString()), + args: parse(getInput("build-args")).map((arg) => arg), }, }; }