File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ inputs:
2323 default : true
2424 SSH_PRIVATE_KEY :
2525 description : ' Your ssh private key that is paired with a public key that is uploaded to Gigalixir'
26- required : true
26+ required : ${MIGRATIONS}
2727
2828runs :
2929 using : ' node12'
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ async function run() {
9393 const gigalixirUsername = core . getInput ( 'GIGALIXIR_USERNAME' , requiredInputOptions ) ;
9494 const gigalixirPassword = core . getInput ( 'GIGALIXIR_PASSWORD' , requiredInputOptions ) ;
9595 const migrations = core . getInput ( 'MIGRATIONS' , requiredInputOptions ) ;
96- const sshPrivateKey = core . getInput ( 'SSH_PRIVATE_KEY' , requiredInputOptions ) ;
96+ const sshPrivateKey = core . getInput ( 'SSH_PRIVATE_KEY' , { required : migrations } ) ;
9797
9898 await core . group ( "Installing gigalixir" , async ( ) => {
9999 await exec . exec ( 'pip3 install gigalixir' )
You can’t perform that action at this time.
0 commit comments