File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9330,7 +9330,6 @@ function wrappy (fn, cb) {
9330
9330
9331
9331
const core = __nccwpck_require__(2186);
9332
9332
const axios = __nccwpck_require__(8757);
9333
- const github = __nccwpck_require__(5438);
9334
9333
const InputValidator = __nccwpck_require__(4881);
9335
9334
const constants = __nccwpck_require__(1468);
9336
9335
const { BROWSERSTACK_TEMPLATE } = __nccwpck_require__(1468);
@@ -9367,7 +9366,7 @@ class ActionInput {
9367
9366
this.githubApp = core.getInput(INPUT.GITHUB_APP);
9368
9367
this.rerunAttempt = process?.env?.GITHUB_RUN_ATTEMPT;
9369
9368
this.runId = process?.env?.GITHUB_RUN_ID;
9370
- this.repository = `${github?.context?.repo?.owner}/${github?.context?.repo?.repo}` ;
9369
+ this.repository = process?.env?.GITHUB_REPOSITORY ;
9371
9370
} catch (e) {
9372
9371
throw Error(`Action input failed for reason: ${e.message}`);
9373
9372
}
@@ -9404,6 +9403,7 @@ class ActionInput {
9404
9403
core.info(`${ENV_VARS.BROWSERSTACK_BUILD_NAME} environment variable set as: ${this.buildName}`);
9405
9404
core.info(`Use ${ENV_VARS.BROWSERSTACK_BUILD_NAME} environment variable for your build name capability in your tests\n`);
9406
9405
9406
+ core.info(`The new way of setting repository is: ${this.repository}`);
9407
9407
if (await this.checkIfBStackReRun()) {
9408
9408
await this.setBStackRerunEnvVars();
9409
9409
}
You can’t perform that action at this time.
0 commit comments