diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index a3643a2..dd0e39e 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -10,6 +10,9 @@ jobs: - name: Checkout code uses: actions/checkout@master + - name: Adding markdown + run: echo '### Hello world! ' >> $GITHUB_STEP_SUMMARY + - name: clover file not found uses: ./. continue-on-error: true diff --git a/bin/index.js b/bin/index.js index 65252ad..c4a8ac6 100644 --- a/bin/index.js +++ b/bin/index.js @@ -89843,7 +89843,7 @@ var run = function () { return __awaiter$1(void 0, void 0, void 0, function () { case 16: return [4 /*yield*/, github.rest.issues.createComment(__assign(__assign({}, utils$2.context.repo), { issue_number: utils$2.context.issue.number, body: body }))]; case 17: _j.sent(); - return [4 /*yield*/, coreExports.summary.addQuote("sad").addSeparator().write()]; + return [4 /*yield*/, coreExports.summary.addHeading("saddest?").addQuote("sad").addSeparator().write()]; case 18: _j.sent(); return [2 /*return*/]; diff --git a/src/index.ts b/src/index.ts index f85aca3..c9587fa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -277,7 +277,7 @@ ${signature}`; body, }); - await summary.addQuote("sad").addSeparator().write(); + await summary.addHeading("saddest?").addQuote("sad").addSeparator().write(); }; run().catch((err: Error) => setFailed(err + " Stack: " + err.stack));