Skip to content

Commit 12cf39a

Browse files
committed
artifact addition package name
1 parent 2ece26b commit 12cf39a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

browserstack-report-action/dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

browserstack-report-action/src/utils/ArtifactManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)