File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -14987,6 +14987,9 @@ function setDiagnostics(logFileName, logLevel) {
14987
14987
core . exportVariable ( "ORGFLOW_DIAGNOSTICSFILEDIRECTORYPATH" , bundleDirPath ) ;
14988
14988
core . exportVariable ( "ORGFLOW_LOGFILEPATH" , logFilePath ) ;
14989
14989
core . exportVariable ( "ORGFLOW_LOGLEVEL" , logLevel ) ;
14990
+ // Have OrgFlow output errors and warnings in a way that GitHub will recognize:
14991
+ core . exportVariable ( "ORGFLOW_OUTPUTTEMPLATE_WARNING" , "::warning title=OrgFlow Warning::$$msg$$" ) ;
14992
+ core . exportVariable ( "ORGFLOW_OUTPUTTEMPLATE_ERROR" , "::error title=OrgFlow Error::$$msg$$" ) ;
14990
14993
}
14991
14994
exports . setDiagnostics = setDiagnostics ;
14992
14995
function uploadDiagnosticsArtifact ( artifactName ) {
Original file line number Diff line number Diff line change @@ -9215,6 +9215,9 @@ function setDiagnostics(logFileName, logLevel) {
9215
9215
core . exportVariable ( "ORGFLOW_DIAGNOSTICSFILEDIRECTORYPATH" , bundleDirPath ) ;
9216
9216
core . exportVariable ( "ORGFLOW_LOGFILEPATH" , logFilePath ) ;
9217
9217
core . exportVariable ( "ORGFLOW_LOGLEVEL" , logLevel ) ;
9218
+ // Have OrgFlow output errors and warnings in a way that GitHub will recognize:
9219
+ core . exportVariable ( "ORGFLOW_OUTPUTTEMPLATE_WARNING" , "::warning title=OrgFlow Warning::$$msg$$" ) ;
9220
+ core . exportVariable ( "ORGFLOW_OUTPUTTEMPLATE_ERROR" , "::error title=OrgFlow Error::$$msg$$" ) ;
9218
9221
}
9219
9222
exports . setDiagnostics = setDiagnostics ;
9220
9223
function uploadDiagnosticsArtifact ( artifactName ) {
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ export function setDiagnostics(logFileName: string, logLevel: string)
37
37
core . exportVariable ( "ORGFLOW_DIAGNOSTICSFILEDIRECTORYPATH" , bundleDirPath ) ;
38
38
core . exportVariable ( "ORGFLOW_LOGFILEPATH" , logFilePath ) ;
39
39
core . exportVariable ( "ORGFLOW_LOGLEVEL" , logLevel ) ;
40
+
41
+ // Have OrgFlow output errors and warnings in a way that GitHub will recognize:
42
+ core . exportVariable ( "ORGFLOW_OUTPUTTEMPLATE_WARNING" , "::warning title=OrgFlow Warning::$$msg$$" ) ;
43
+ core . exportVariable ( "ORGFLOW_OUTPUTTEMPLATE_ERROR" , "::error title=OrgFlow Error::$$msg$$" ) ;
40
44
}
41
45
42
46
export async function uploadDiagnosticsArtifact ( artifactName : string )
You can’t perform that action at this time.
0 commit comments