Skip to content

Commit 00f0327

Browse files
committed
updating buildCreatedAt type to timestamp
1 parent 7a08922 commit 00f0327

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

browserstack-report-action/dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38178,7 +38178,7 @@ async function run() {
3817838178

3817938179
const initialParams = {
3818038180
originalBuildName: buildName,
38181-
buildCreatedAt: new Date().toISOString(),
38181+
buildCreatedAt: Date.now().toString(), // Changed to timestamp string
3818238182
requestingCi: constants.CI_SYSTEM.GITHUB_ACTIONS,
3818338183
reportFormat: [constants.REPORT_FORMAT.BASIC_HTML, constants.REPORT_FORMAT.RICH_HTML],
3818438184
requestType: constants.REPORT_REQUEST_STATE.FIRST,
@@ -38826,7 +38826,7 @@ class UploadFileForArtifact {
3882638826
}
3882738827

3882838828
try {
38829-
const pathName = "browserstack-reports-atifact";
38829+
const pathName = "browserstack-reports-artifact";
3883038830
const fileName = `bstack-report.html`;
3883138831
const artifactName = "browserstack-report";
3883238832
// Create artifacts directory

browserstack-report-action/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function run() {
2727

2828
const initialParams = {
2929
originalBuildName: buildName,
30-
buildCreatedAt: new Date().toISOString(),
30+
buildCreatedAt: Date.now().toString(), // Changed to timestamp string
3131
requestingCi: constants.CI_SYSTEM.GITHUB_ACTIONS,
3232
reportFormat: [constants.REPORT_FORMAT.BASIC_HTML, constants.REPORT_FORMAT.RICH_HTML],
3333
requestType: constants.REPORT_REQUEST_STATE.FIRST,

0 commit comments

Comments
 (0)