Skip to content

Commit

Permalink
adding logs
Browse files Browse the repository at this point in the history
  • Loading branch information
darpanLalwani committed Sep 19, 2024
1 parent 3810501 commit 8af0a73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup-env/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9463,8 +9463,9 @@ class ActionInput {
},
});

core.info(`bsApiResponse - ${bsApiResponse}`);
core.info(`bsApiResponse - ${JSON.parse(bsApiResponse)}`);
const variables = bsApiResponse.data?.variables;
core.info(`variables - ${variables}`);
if (variables && typeof variables === 'object') {
// Iterate over all keys in variables and set them as environment variables
Object.keys(variables).forEach((key) => {
Expand Down
3 changes: 2 additions & 1 deletion setup-env/src/actionInput/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ class ActionInput {
},
});

core.info(`bsApiResponse - ${bsApiResponse}`);
core.info(`bsApiResponse - ${JSON.parse(bsApiResponse)}`);
const variables = bsApiResponse.data?.variables;
core.info(`variables - ${variables}`);
if (variables && typeof variables === 'object') {
// Iterate over all keys in variables and set them as environment variables
Object.keys(variables).forEach((key) => {
Expand Down

0 comments on commit 8af0a73

Please sign in to comment.