File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
browserstack-report-action Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110292,10 +110292,10 @@ class ArtifactManager {
110292110292 fs.writeFileSync(filePath, report);
110293110293
110294110294 // Upload as artifact
110295- // const artifactClient = artifact.createArtifactClient ();
110295+ const artifactClient = artifact.DefaultArtifactClient ();
110296110296 const artifactName = `browserstack-report-${sanitizedBuildName}`;
110297110297
110298- const uploadResult = await artifact .uploadArtifact(
110298+ const uploadResult = await artifactClient .uploadArtifact(
110299110299 artifactName,
110300110300 [filePath],
110301110301 artifactDir,
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ class ArtifactManager {
2727 fs . writeFileSync ( filePath , report ) ;
2828
2929 // Upload as artifact
30- // const artifactClient = artifact.createArtifactClient ();
30+ const artifactClient = artifact . DefaultArtifactClient ( ) ;
3131 const artifactName = `browserstack-report-${ sanitizedBuildName } ` ;
3232
33- const uploadResult = await artifact . uploadArtifact (
33+ const uploadResult = await artifactClient . uploadArtifact (
3434 artifactName ,
3535 [ filePath ] ,
3636 artifactDir ,
You can’t perform that action at this time.
0 commit comments