mirror of
https://github.com/actions/toolkit
synced 2025-05-09 08:33:00 +00:00
add & deprecate old markdownSummary export
This commit is contained in:
parent
01aceeaad6
commit
07242b37a4
2 changed files with 12 additions and 2 deletions
|
@ -364,3 +364,8 @@ export async function getIDToken(aud?: string): Promise<string> {
|
|||
* Summary exports
|
||||
*/
|
||||
export {summary} from './summary'
|
||||
|
||||
/**
|
||||
* @deprecated use core.summary
|
||||
*/
|
||||
export {markdownSummary} from './summary'
|
||||
|
|
|
@ -354,5 +354,10 @@ class Summary {
|
|||
}
|
||||
}
|
||||
|
||||
// singleton export
|
||||
export const summary = new Summary()
|
||||
const _summary = new Summary()
|
||||
|
||||
/**
|
||||
* @deprecated use `core.summary`
|
||||
*/
|
||||
export const markdownSummary = _summary
|
||||
export const summary = _summary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue