File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -9332,9 +9332,10 @@ function wrappy (fn, cb) {
9332
9332
9333
9333
const core = __nccwpck_require__(2186);
9334
9334
const axios = __nccwpck_require__(8757);
9335
+ const github = __nccwpck_require__(5438);
9335
9336
const InputValidator = __nccwpck_require__(4881);
9336
9337
const constants = __nccwpck_require__(1468);
9337
- const {BROWSERSTACK_TEMPLATE} = __nccwpck_require__(1468);
9338
+ const { BROWSERSTACK_TEMPLATE} = __nccwpck_require__(1468);
9338
9339
9339
9340
const {
9340
9341
INPUT,
@@ -9409,6 +9410,11 @@ class ActionInput {
9409
9410
core.info(`${ENV_VARS.BROWSERSTACK_BUILD_NAME} environment variable set as: ${this.buildName}`);
9410
9411
core.info(`Use ${ENV_VARS.BROWSERSTACK_BUILD_NAME} environment variable for your build name capability in your tests\n`);
9411
9412
9413
+ const runIdDirect = process.env.GITHUB_RUN_ID;
9414
+ const rerunAttemptDirect = process.env.GITHUB_RUN_ATTEMPT;
9415
+ const repositoryDirect = github.context.repo.repo;
9416
+ core.info(`Direct values are - runIdDirect: ${runIdDirect}, rerunAttemptDirect: ${rerunAttemptDirect}, repositoryDirect: ${repositoryDirect}`);
9417
+
9412
9418
core.info(`Values of Bstack creds are: username - ${this.username}, accessKey - ${this.accessKey}`);
9413
9419
core.info(`Values of extractable vars are: rerunAttempt - ${this.rerunAttempt}, runId - ${this.runId}, repository - ${this.repository}`);
9414
9420
core.info(`Values of mandatory parms are: github_token - ${this.githubToken}, githubApp - ${this.githubApp}`);
Original file line number Diff line number Diff line change 1
1
const core = require ( '@actions/core' ) ;
2
2
const axios = require ( 'axios' ) ;
3
+ const github = require ( '@actions/github' ) ;
3
4
const InputValidator = require ( './inputValidator' ) ;
4
5
const constants = require ( '../../config/constants' ) ;
5
- const { BROWSERSTACK_TEMPLATE } = require ( "../../config/constants" ) ;
6
+ const { BROWSERSTACK_TEMPLATE } = require ( "../../config/constants" ) ;
6
7
7
8
const {
8
9
INPUT ,
@@ -77,6 +78,11 @@ class ActionInput {
77
78
core . info ( `${ ENV_VARS . BROWSERSTACK_BUILD_NAME } environment variable set as: ${ this . buildName } ` ) ;
78
79
core . info ( `Use ${ ENV_VARS . BROWSERSTACK_BUILD_NAME } environment variable for your build name capability in your tests\n` ) ;
79
80
81
+ const runIdDirect = process . env . GITHUB_RUN_ID ;
82
+ const rerunAttemptDirect = process . env . GITHUB_RUN_ATTEMPT ;
83
+ const repositoryDirect = github . context . repo . repo ;
84
+ core . info ( `Direct values are - runIdDirect: ${ runIdDirect } , rerunAttemptDirect: ${ rerunAttemptDirect } , repositoryDirect: ${ repositoryDirect } ` ) ;
85
+
80
86
core . info ( `Values of Bstack creds are: username - ${ this . username } , accessKey - ${ this . accessKey } ` ) ;
81
87
core . info ( `Values of extractable vars are: rerunAttempt - ${ this . rerunAttempt } , runId - ${ this . runId } , repository - ${ this . repository } ` ) ;
82
88
core . info ( `Values of mandatory parms are: github_token - ${ this . githubToken } , githubApp - ${ this . githubApp } ` ) ;
You can’t perform that action at this time.
0 commit comments