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
|
* Summary exports
|
||||||
*/
|
*/
|
||||||
export {summary} from './summary'
|
export {summary} from './summary'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated use core.summary
|
||||||
|
*/
|
||||||
|
export {markdownSummary} from './summary'
|
||||||
|
|
|
@ -354,5 +354,10 @@ class Summary {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// singleton export
|
const _summary = new Summary()
|
||||||
export const summary = new Summary()
|
|
||||||
|
/**
|
||||||
|
* @deprecated use `core.summary`
|
||||||
|
*/
|
||||||
|
export const markdownSummary = _summary
|
||||||
|
export const summary = _summary
|
||||||
|
|
Loading…
Reference in New Issue