From 1d562cf526cdb41fcbfc75841478d6c979e2e1da Mon Sep 17 00:00:00 2001 From: Akkuman Date: Mon, 6 May 2024 22:53:36 +0800 Subject: [PATCH] chore: package build --- dist/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4bb28d6..f06b501 100644 --- a/dist/index.js +++ b/dist/index.js @@ -48151,8 +48151,8 @@ async function run() { const name = core.getInput("name") const body = getReleaseBody(core.getInput("body"), core.getInput("body_path")) const tag_name = core.getInput("tag_name") - const draft = Boolean(core.getInput("draft")) - const prerelease = Boolean(core.getInput("prerelease")) + const draft = core.getInput("draft") === 'true' + const prerelease = core.getInput("prerelease") === 'true' const files = core.getInput("files") const repository = core.getInput("repository") const token = core.getInput("token") @@ -48265,6 +48265,7 @@ function paths(patterns) { * @param {String} repo * @param {Number} release_id * @param {Array} all_files + * @param {Map} additional parameters */ async function uploadFiles(client, owner, repo, release_id, all_files, params) { params = params || {};