From 3d7c17d881b15d389e5a2598284119b6dade1b46 Mon Sep 17 00:00:00 2001 From: Pavitra Golchha Date: Thu, 29 Aug 2024 21:09:18 +0000 Subject: [PATCH] fix: test action --- .github/workflows/test.yml | 2 +- dist/index.js | 1 + index.js | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33e71dc..1c48eb0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,4 +16,4 @@ jobs: id: html_preview uses: ./ # NOTE: replace with the latest version of this Action - name: Log HTML Preview URL - run: echo '{{ steps.html_preview.outputs.url) }}' + run: echo '{{ steps.html_preview.outputs.url }}' diff --git a/dist/index.js b/dist/index.js index fb0370f..8ed7983 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30958,6 +30958,7 @@ try { _actions_core__WEBPACK_IMPORTED_MODULE_0__.summary.addHeading('HTML Preview Action') .addRaw(`Using HTML file: \`${htmlFile}\``) .addBreak() + .addBreak() .addLink('Click here to preview the HTML page in your browser', previewUrl) .write(); } diff --git a/index.js b/index.js index 5e3f1b4..69bf3b2 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,8 @@ try { if (jobSummary) { summary .addHeading('HTML Preview Action') - .addRaw(`Using HTML file: \`${htmlFile}\``) + .addRaw(`Using HTML file: ${htmlFile}`) + .addBreak() .addBreak() .addLink('Click here to preview the HTML page in your browser', previewUrl) .write();