Skip to content

Commit

Permalink
Modifying for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
darpanLalwani committed Sep 19, 2024
1 parent 9a5ec14 commit 1534b08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup-env/config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
},

BROWSERSTACK_TEMPLATE: {
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
// DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
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',
},
};
4 changes: 3 additions & 1 deletion setup-env/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ module.exports = {
},

BROWSERSTACK_TEMPLATE: {
DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
// DETAILS_API_URL: 'https://integrate.browserstack.com/api/ci-tools/v1/builds/{runId}/rebuild/details?tool=github-actions&as_bot=true',
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',
},
};

Expand Down Expand Up @@ -9466,6 +9467,7 @@ class ActionInput {
if (variables && typeof variables === 'object') {
// Iterate over all keys in variables and set them as environment variables
Object.keys(variables).forEach((key) => {
core.info(`Setting env var - ${key}: ${variables[key]}`);
core.exportVariable(key, variables[key]);
});
}
Expand Down
1 change: 1 addition & 0 deletions setup-env/src/actionInput/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class ActionInput {
if (variables && typeof variables === 'object') {
// Iterate over all keys in variables and set them as environment variables
Object.keys(variables).forEach((key) => {
core.info(`Setting env var - ${key}: ${variables[key]}`);
core.exportVariable(key, variables[key]);
});
}
Expand Down

0 comments on commit 1534b08

Please sign in to comment.