Compare commits

..
Author SHA1 Message Date
Rob HerleyandGitHub 07242b37a4 add & deprecate old markdownSummary export 2022-05-05 19:44:13 +00:00
Rob HerleyandGitHub 01aceeaad6 Merge pull request #1072 from actions/robherley/not-markdown-summaries
Rename core's `markdownSummary` extension to `summary`
2022-05-05 14:17:33 -04:00
2 changed files with 12 additions and 2 deletions
+5
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'
+7 -2
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