-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I'm trying to print some paragraph text, including inline code snippets (not code blocks).
eg
Bumping formula `something` in `custom/tap` to `v1.2.3`.
which should render on the summary as:

To Reproduce
Steps to reproduce the behavior:
Printing to summary file:
import { summary } from '@actions/core'
summary.addRaw(`Bumping formula \`${formulaName}\` in \`${owner}/${repo}\` to \`${tagName}\`. `)
When run in a workflow, the resulting summary instead contains literal backticks.
Expected behavior
I would expect the inline code backticks to be escaped by the JS template literal and thus passed to github's markdown renderer directly, thus rendering as <code>
elements.
Screenshots

Desktop (please complete the following information):
- OS: macos
- Browser safari
- Version 18.5
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working