1
0
Fork 0

Merge pull request #1073 from actions/robherley/deprecate-markdownsummary

Add & deprecate old markdownSummary export
pull/1074/head
Rob Herley 2022-05-05 16:07:16 -04:00 committed by GitHub
commit c4ae214c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -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'

View File

@ -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