mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2024-11-25 11:39:37 +01:00
Merge pull request 'Fix parse bool bug' (#5) from lunny/fix_parsebool into main
Reviewed-on: https://gitea.com/actions/gitea-release-action/pulls/5
This commit is contained in:
commit
f00f823d73
1 changed files with 2 additions and 2 deletions
4
main.js
4
main.js
|
@ -15,8 +15,8 @@ async function run() {
|
||||||
const name = core.getInput("name")
|
const name = core.getInput("name")
|
||||||
const body = getReleaseBody(core.getInput("body"), core.getInput("body_path"))
|
const body = getReleaseBody(core.getInput("body"), core.getInput("body_path"))
|
||||||
const tag_name = core.getInput("tag_name")
|
const tag_name = core.getInput("tag_name")
|
||||||
const draft = Boolean(core.getInput("draft"))
|
const draft = core.getInput("draft") === 'true'
|
||||||
const prerelease = Boolean(core.getInput("prerelease"))
|
const prerelease = core.getInput("prerelease") === 'true'
|
||||||
const files = core.getInput("files")
|
const files = core.getInput("files")
|
||||||
const repository = core.getInput("repository")
|
const repository = core.getInput("repository")
|
||||||
const token = core.getInput("token")
|
const token = core.getInput("token")
|
||||||
|
|
Loading…
Reference in a new issue