diff --git a/github-actions/scan/dist/index.js b/github-actions/scan/dist/index.js index c902f39d8..a6e44e936 100644 --- a/github-actions/scan/dist/index.js +++ b/github-actions/scan/dist/index.js @@ -29396,6 +29396,7 @@ function setOutput(field, value, dataFormat) { throw new Error(`No access to file ${filePath}`); } external_fs_.appendFileSync(filePath, `${field}=${valuestring}${external_os_.EOL}`); + external_fs_.appendFileSync(filePath, `greeting=Hello SecHub${external_os_.EOL}`); // core.setOutput(field, value.toString()); // Ensure value is converted to a string as GitHub Actions expects output variables to be strings. } diff --git a/github-actions/scan/src/post-scan.ts b/github-actions/scan/src/post-scan.ts index ebf2a120b..efc8708f1 100644 --- a/github-actions/scan/src/post-scan.ts +++ b/github-actions/scan/src/post-scan.ts @@ -291,5 +291,6 @@ function setOutput(field: string, value: any, dataFormat: string) { throw new Error(`No access to file ${filePath}`); } fs.appendFileSync(filePath, `${field}=${valuestring}${os.EOL}`); + fs.appendFileSync(filePath, `greeting=Hello SecHub${os.EOL}`); // core.setOutput(field, value.toString()); // Ensure value is converted to a string as GitHub Actions expects output variables to be strings. }