File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
browserstack-report-action Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41959,13 +41959,13 @@ class ArtifactManager {
4195941959 return `File saved locally at: ${filePath}`;
4196041960 }
4196141961 const artifactName = `browserstack`;
41962- const cwdPath = path.join(process.cwd(), 'browserstack-artifact/report .html');
41962+ const cwdPath = path.join(process.cwd(), 'browserstack-artifacts/reports .html');
4196341963 fs.copyFileSync(filePath, cwdPath);
4196441964 core.info(`Copied report to ${cwdPath}`);
4196541965 const uploadResult = await artifactClient.uploadArtifact(
4196641966 artifactName,
41967- [fileName ],
41968- process.cwd()+"/browserstack-artifact ",
41967+ ['reports.html' ],
41968+ process.cwd()+"/browserstack-artifacts ",
4196941969 { continueOnError: true }
4197041970 );
4197141971
Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ class ArtifactManager {
4949 return `File saved locally at: ${ filePath } ` ;
5050 }
5151 const artifactName = `browserstack` ;
52- const cwdPath = path . join ( process . cwd ( ) , 'browserstack-artifact/report .html' ) ;
52+ const cwdPath = path . join ( process . cwd ( ) , 'browserstack-artifacts/reports .html' ) ;
5353 fs . copyFileSync ( filePath , cwdPath ) ;
5454 core . info ( `Copied report to ${ cwdPath } ` ) ;
5555 const uploadResult = await artifactClient . uploadArtifact (
5656 artifactName ,
57- [ fileName ] ,
58- process . cwd ( ) + "/browserstack-artifact " ,
57+ [ 'reports.html' ] ,
58+ process . cwd ( ) + "/browserstack-artifacts " ,
5959 { continueOnError : true }
6060 ) ;
6161
You can’t perform that action at this time.
0 commit comments