From 46b878ae8dcfe76f6716e5074c5e1c585cca307a Mon Sep 17 00:00:00 2001 From: Akkuman Date: Sat, 2 Dec 2023 12:36:46 +0800 Subject: [PATCH] fix: package to dist --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 66266a6..5dbcf32 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33028,8 +33028,8 @@ async function run() { const name = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("name") const body = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("body") const tag_name = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("tag_name") - const draft = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("draft") - const prerelease = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("prerelease") + const draft = Boolean(_actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("draft")) + const prerelease = Boolean(_actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("prerelease")) const files = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("files") const repository = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("repository") const token = _actions_core__WEBPACK_IMPORTED_MODULE_2__.getInput("token")