try something #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish package on NPM | |
on: push | |
jobs: | |
repro1: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Reproduction | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
await core.summary | |
.addBreak() | |
.addCodeBlock(`<!-- some html comment -->**Hello**`, 'markdown') | |
.write() | |
fix-example: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fix example | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
await core.summary | |
.addBreak() | |
.addCodeBlock(`**Hello**`, 'markdown') | |
.write() | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fix example | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
await core.summary | |
.addCodeBlock(`**Hello**`, 'markdown') | |
.write() |