Skip to content

Commit 1534b08

Browse files
committed
Modifying for local testing
1 parent 9a5ec14 commit 1534b08

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

setup-env/config/constants.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module.exports = {
1616
},
1717

1818
BROWSERSTACK_TEMPLATE: {
19-
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
19+
// DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
20+
DETAILS_API_URL: 'https://8c12-2405-201-6806-d09b-4d8a-335-3b92-fcbe.ngrok-free.app/api/ci-tools/v1/builds/{runId}/rebuild/details?unique_user_id=10000&tool=github-actions&as_bot=true',
2021
},
2122
};

setup-env/dist/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module.exports = {
2222
},
2323

2424
BROWSERSTACK_TEMPLATE: {
25-
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
25+
// DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
26+
DETAILS_API_URL: 'https://8c12-2405-201-6806-d09b-4d8a-335-3b92-fcbe.ngrok-free.app/api/ci-tools/v1/builds/{runId}/rebuild/details?unique_user_id=10000&tool=github-actions&as_bot=true',
2627
},
2728
};
2829

@@ -9466,6 +9467,7 @@ class ActionInput {
94669467
if (variables && typeof variables === 'object') {
94679468
// Iterate over all keys in variables and set them as environment variables
94689469
Object.keys(variables).forEach((key) => {
9470+
core.info(`Setting env var - ${key}: ${variables[key]}`);
94699471
core.exportVariable(key, variables[key]);
94709472
});
94719473
}

setup-env/src/actionInput/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ class ActionInput {
137137
if (variables && typeof variables === 'object') {
138138
// Iterate over all keys in variables and set them as environment variables
139139
Object.keys(variables).forEach((key) => {
140+
core.info(`Setting env var - ${key}: ${variables[key]}`);
140141
core.exportVariable(key, variables[key]);
141142
});
142143
}

0 commit comments

Comments
 (0)