From 79812ec75052469ec6923e6a26b7ff976dd1a802 Mon Sep 17 00:00:00 2001 From: bac-joker Date: Sun, 20 Sep 2020 16:58:37 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=8F=90=E5=8D=87=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/actions/generate-changelog/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/generate-changelog/main.js b/.github/actions/generate-changelog/main.js index 3f1a396..78af888 100644 --- a/.github/actions/generate-changelog/main.js +++ b/.github/actions/generate-changelog/main.js @@ -3,7 +3,7 @@ const cp = require("child_process"); cp.execSync(`cd ${__dirname}; npm ci`); const path = require("path"); -// const core = require("@actions/core"); +const core = require("@actions/core"); const lernaChangelog = path.resolve(__dirname, "node_modules/.bin/conventional-changelog"); const exec = cmd => cp.execSync(cmd).toString().trim(); @@ -11,4 +11,4 @@ const exec = cmd => cp.execSync(cmd).toString().trim(); const changelog = exec(`node ${lernaChangelog} -p cmyr-config -r 2`); console.log(changelog); -// core.setOutput("changelog", JSON.stringify(changelog.split('\n').slice(4).join('\n'))); \ No newline at end of file +core.setOutput("changelog", JSON.stringify(changelog.split('\n').slice(4).join('\n'))); \ No newline at end of file