File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export function buildAndroidArgs(
2222 resultFile : string ,
2323 pullFiles : string ,
2424 branch : string ,
25+ project : string ,
2526) : string [ ] {
2627 const args = [
2728 "run" ,
@@ -106,6 +107,10 @@ export function buildAndroidArgs(
106107 args . push ( "--branch" , branch ) ;
107108 }
108109
110+ if ( project ) {
111+ args . push ( "--project" , project ) ;
112+ }
113+
109114 return args ;
110115}
111116
@@ -131,6 +136,7 @@ export function buildiOSArgs(
131136 resultFile : string ,
132137 pullFiles : string ,
133138 branch : string ,
139+ project : string ,
134140) : string [ ] {
135141 const args = [
136142 "run" ,
@@ -221,6 +227,10 @@ export function buildiOSArgs(
221227 args . push ( "--branch" , branch ) ;
222228 }
223229
230+ if ( project ) {
231+ args . push ( "--project" , project ) ;
232+ }
233+
224234 return args ;
225235}
226236
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ async function main() {
3030 const resultFile = core . getInput ( "resultFile" ) || "result.json" ;
3131 const pullFiles = core . getInput ( "pullFiles" ) ;
3232 const branch = core . getInput ( "branch" ) ;
33+ const project = core . getInput ( "project" ) ;
3334
3435 let args : string [ ] = [ ] ;
3536
@@ -58,6 +59,7 @@ async function main() {
5859 resultFile ,
5960 pullFiles ,
6061 branch ,
62+ project ,
6163 ) ;
6264 break ;
6365 }
@@ -84,6 +86,7 @@ async function main() {
8486 resultFile ,
8587 pullFiles ,
8688 branch ,
89+ project ,
8790 ) ;
8891 break ;
8992 }
You can’t perform that action at this time.
0 commit comments