diff --git a/main.js b/main.js index 89e597f..00caaaf 100644 --- a/main.js +++ b/main.js @@ -12,8 +12,8 @@ async function run() { const name = core.getInput("name") const body = core.getInput("body") const tag_name = core.getInput("tag_name") - const draft = core.getInput("draft") - const prerelease = core.getInput("prerelease") + const draft = Boolean(core.getInput("draft")) + const prerelease = Boolean(core.getInput("prerelease")) const files = core.getInput("files") const repository = core.getInput("repository") const token = core.getInput("token")