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 @@ -38851,10 +38851,12 @@ class UploadFileForArtifact {
3885138851 try {
3885238852 const pathName = "browserstack-reports-atifact"
3885338853 const fileName = `bstack-report.html`;
38854+ const artifactName = "browserstack-report";
3885438855 // Create artifacts directory
3885538856 fs.mkdirSync(pathName, { recursive: true });
3885638857 //save path in a env variable
3885738858 core.exportVariable('BROWSERSTACK_REPORT_PATH', pathName);
38859+ core.exportVariable("BROWSERSTACK_REPORT_NAME", artifactName);
3885838860
3885938861 // Write content
3886038862 fs.writeFileSync(path.join(pathName,fileName), report);
Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ class UploadFileForArtifact {
1414 try {
1515 const pathName = "browserstack-reports-atifact"
1616 const fileName = `bstack-report.html` ;
17+ const artifactName = "browserstack-report" ;
1718 // Create artifacts directory
1819 fs . mkdirSync ( pathName , { recursive : true } ) ;
1920 //save path in a env variable
2021 core . exportVariable ( 'BROWSERSTACK_REPORT_PATH' , pathName ) ;
22+ core . exportVariable ( "BROWSERSTACK_REPORT_NAME" , artifactName ) ;
2123
2224 // Write content
2325 fs . writeFileSync ( path . join ( pathName , fileName ) , report ) ;
You can’t perform that action at this time.
0 commit comments