mirror of https://github.com/actions/toolkit
add & deprecate old markdownSummary export
parent
01aceeaad6
commit
07242b37a4
|
@ -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