File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34838,7 +34838,7 @@ class Config {
3483834838 this.input = {
3483934839 prompt: core.getInput("prompt"),
3484034840 prerun: core.getInput("prerun"),
34841- branch: core.getInput("branch") || "main" ,
34841+ branch: core.getInput("branch") ,
3484234842 key: core.getInput("key"),
3484334843 os: core.getInput("os") || "windows",
3484434844 version: core.getInput("version") || "latest",
@@ -41261,7 +41261,7 @@ axios.interceptors.response.use(
4126141261 const repo = process.env.IS_DEV
4126241262 ? "replayableio/testdriver-action"
4126341263 : config.githubContext.owner + "/" + config.githubContext.repo;
41264- const branch = process.env.IS_DEV ? "main" : config.githubContext.branch;
41264+ const branch = config.input.branch | config.githubContext.branch | "main" ;
4126541265
4126641266 let prerun = config.input.prerun;
4126741267 let key = config.input.key;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class Config {
1414 this . input = {
1515 prompt : core . getInput ( "prompt" ) ,
1616 prerun : core . getInput ( "prerun" ) ,
17- branch : core . getInput ( "branch" ) || "main" ,
17+ branch : core . getInput ( "branch" ) ,
1818 key : core . getInput ( "key" ) ,
1919 os : core . getInput ( "os" ) || "windows" ,
2020 version : core . getInput ( "version" ) || "latest" ,
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ axios.interceptors.response.use(
6666 const repo = process . env . IS_DEV
6767 ? "replayableio/testdriver-action"
6868 : config . githubContext . owner + "/" + config . githubContext . repo ;
69- const branch = process . env . IS_DEV ? "main" : config . githubContext . branch ;
69+ const branch = config . input . branch | config . githubContext . branch | "main" ;
7070
7171 let prerun = config . input . prerun ;
7272 let key = config . input . key ;
You can’t perform that action at this time.
0 commit comments