Skip to content

Commit 7410733

Browse files
committed
add fix for artifact debug
1 parent 7c0b532 commit 7410733

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
@@ -41964,8 +41964,8 @@ class ArtifactManager {
4196441964
// core.info(`Copied report to ${cwdPath}`);
4196541965
const uploadResult = await artifactClient.uploadArtifact(
4196641966
artifactName,
41967-
['report.html'],
41968-
"/browserstack-artifacts",
41967+
[`${artifactDir}/report.html`],
41968+
artifactDir,
4196941969
{ continueOnError: true }
4197041970
);
4197141971

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class ArtifactManager {
5454
// core.info(`Copied report to ${cwdPath}`);
5555
const uploadResult = await artifactClient.uploadArtifact(
5656
artifactName,
57-
['report.html'],
58-
"/browserstack-artifacts",
57+
[`${artifactDir}/report.html`],
58+
artifactDir,
5959
{ continueOnError: true }
6060
);
6161

0 commit comments

Comments
 (0)