File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ inputs:
4848 default : ' '
4949 description : Path to local Deployer binary.
5050
51+ recipe :
52+ required : false
53+ default : ' '
54+ description : Recipe file path.
55+
5156 ansi :
5257 required : false
5358 default : ' true'
Original file line number Diff line number Diff line change @@ -106,6 +106,11 @@ async function dep() {
106106 }
107107
108108 let cmd = core . getInput ( 'dep' ) . split ( ' ' )
109+ let recipe = core . getInput ( 'recipe' )
110+ if ( recipe !== '' ) {
111+ recipe = `--file=${ recipe } `
112+ }
113+
109114 let ansi = core . getBooleanInput ( 'ansi' ) ? '--ansi' : '--no-ansi'
110115 let verbosity = core . getInput ( 'verbosity' )
111116 let options = [ ]
@@ -121,7 +126,7 @@ async function dep() {
121126 }
122127
123128 try {
124- await $ `php ${ dep } ${ cmd } --no-interaction ${ ansi } ${ verbosity } ${ options } `
129+ await $ `php ${ dep } ${ cmd } ${ recipe } --no-interaction ${ ansi } ${ verbosity } ${ options } `
125130 } catch ( err ) {
126131 core . setFailed ( `Failed: dep ${ cmd } ` )
127132 }
You can’t perform that action at this time.
0 commit comments