Skip to content

Commit f8d1609

Browse files
committed
add fix for artifact debug
1 parent afdff2b commit f8d1609

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

browserstack-report-action/dist/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41961,11 +41961,10 @@ class ArtifactManager {
4196141961
return `File saved locally at: ${filePath}`;
4196241962
}
4196341963
const artifactName = `browserstack`;
41964-
const fileNPath = path.join('browserstack-artifacts', fileName);
4196541964
const uploadResult = await artifactClient.uploadArtifact(
4196641965
artifactName,
41967-
[path.resolve(fileNPath)],
41968-
path.resolve('browserstack-artifacts'),
41966+
[filePath],
41967+
// artifactDir,
4196941968
{ continueOnError: true }
4197041969
);
4197141970

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,10 @@ class ArtifactManager {
5151
return `File saved locally at: ${filePath}`;
5252
}
5353
const artifactName = `browserstack`;
54-
const fileNPath = path.join('browserstack-artifacts', fileName);
5554
const uploadResult = await artifactClient.uploadArtifact(
5655
artifactName,
57-
[path.resolve(fileNPath)],
58-
path.resolve('browserstack-artifacts'),
56+
[filePath],
57+
// artifactDir,
5958
{ continueOnError: true }
6059
);
6160

0 commit comments

Comments
 (0)