From 9b13ff0d71272bb332f3a2343cf46ab767aa3716 Mon Sep 17 00:00:00 2001 From: shBLOCK <50770712+shBLOCK@users.noreply.github.com> Date: Thu, 9 May 2024 08:36:46 +0800 Subject: [PATCH] Debug release.yml --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60eff80..84e0b64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,6 @@ jobs: id: determine_tag uses: actions/github-script@v7 with: - debug: true # noinspection TypeScriptUnresolvedReference script: | const specified_tag = context.payload.inputs && context.payload.inputs.tag @@ -73,6 +72,7 @@ jobs: core.info(`Using tag: ${tag.name}`) core.info(`Message: ${commit.message}`) core.notice(`Using tag: ${tag.name}`) + core.notice(`Message: ${commit.message}`) core.setOutput("tag", tag.name) core.setOutput("message", commit.message) @@ -84,8 +84,10 @@ jobs: - name: Validate Tag uses: actions/github-script@v7 with: + debug: true # noinspection TypeScriptUnresolvedReference script: | + console.log(JSON.stringify(context)) const version_pattern = new RegExp("version\s*=\s*\"(?[^\"]+])\"") const tag = "" if (tag[0] != "v") {