mirror of https://github.com/actions/toolkit
Merge pull request #1073 from actions/robherley/deprecate-markdownsummary
Add & deprecate old markdownSummary exportpull/1074/head
commit
c4ae214c26
|
@ -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…
Reference in New Issue