File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
browserstack-report-action Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -41934,6 +41934,8 @@ class ArtifactManager {
4193441934 // Write content
4193541935 fs.writeFileSync(`browserstack-artifacts/${fileName}`, report);
4193641936 const fileStat = fs.statSync(filePath);
41937+ const content = fs.readFileSync(`browserstack-artifacts/${fileName}`, 'utf8');
41938+ core.info(`Successfully read file: ${filePath} (${content.length} bytes)`);
4193741939 core.exportVariable('BROWSERSTACK_REPORT_PATH', filePath);
4193841940 core.setOutput('fileStat', fileStat);
4193941941 core.setOutput('report_file_path', filePath);
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ class ArtifactManager {
2424 // Write content
2525 fs . writeFileSync ( `browserstack-artifacts/${ fileName } ` , report ) ;
2626 const fileStat = fs . statSync ( filePath ) ;
27+ const content = fs . readFileSync ( `browserstack-artifacts/${ fileName } ` , 'utf8' ) ;
28+ core . info ( `Successfully read file: ${ filePath } (${ content . length } bytes)` ) ;
2729 core . exportVariable ( 'BROWSERSTACK_REPORT_PATH' , filePath ) ;
2830 core . setOutput ( 'fileStat' , fileStat ) ;
2931 core . setOutput ( 'report_file_path' , filePath ) ;
You can’t perform that action at this time.
0 commit comments