From 48ca4e4aed6ebbe79afa3b551830278fa17d13bd Mon Sep 17 00:00:00 2001 From: neel-astro Date: Fri, 27 Sep 2024 12:19:57 +0530 Subject: [PATCH] fix empty check condition --- action.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/action.yaml b/action.yaml index bcd0b0c..a330e18 100644 --- a/action.yaml +++ b/action.yaml @@ -301,7 +301,7 @@ runs: echo ::group::Get DBT Deploy Options - if [[ ${{ inputs.root-folder }} != "" ]]; then + if [[ "${{ inputs.root-folder }}" != "" ]]; then cd ${{ inputs.root-folder }} fi @@ -344,7 +344,7 @@ runs: # infer based on files changed to deploy only dags or image and dags echo ::group::Get Deploy Type - if [[ ${{ inputs.root-folder }} != "" ]]; then + if [[ "${{ inputs.root-folder }}" != "" ]]; then cd ${{ inputs.root-folder }} fi @@ -452,7 +452,7 @@ runs: echo ::group::DAG Deploy to Astro # Deploy only dags - if [[ ${{ inputs.root-folder }} != "" ]]; then + if [[ "${{ inputs.root-folder }}" != "" ]]; then cd ${{ inputs.root-folder }} fi @@ -466,7 +466,7 @@ runs: echo ::group::Image and DAG Deploy to Astro # Deploy image and DAGs - if [[ ${{ inputs.root-folder }} != "" ]]; then + if [[ "${{ inputs.root-folder }}" != "" ]]; then cd ${{ inputs.root-folder }} fi @@ -479,7 +479,7 @@ runs: echo ::group::DBT Deploy to Astro - if [[ ${{ inputs.root-folder }} != "" ]]; then + if [[ "${{ inputs.root-folder }}" != "" ]]; then cd ${{ inputs.root-folder }} fi