From 2127d7c82e759006c5e50096db5bdab4d45ae045 Mon Sep 17 00:00:00 2001 From: Alex Atkinson Date: Fri, 20 Dec 2024 15:49:19 -0500 Subject: [PATCH] THX-1138: Adjust inputs qualifier. --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 74b866e..a4a2945 100644 --- a/action.yml +++ b/action.yml @@ -55,8 +55,8 @@ runs: echo -e "ERROR: 571 - mono-repo-product-name must be set and NOT null!" exit 1 || true fi - [[ -n "${{ inputs.mono-repo-product-name }}" ]] && opt='$opt -n ${{ inputs.mono-repo-product-name }}' - [[ -n "${{ inputs.mono-repo-product-path }}" ]] && opt='$opt -d ${{ inputs.mono-repo-product-path }}' + [[ "${{ inputs.mono-repo-product-name }}" != "" ]] && opt='$opt -n ${{ inputs.mono-repo-product-name }}' + [[ "${{ inputs.mono-repo-product-path }}" != "" ]] && opt='$opt -d ${{ inputs.mono-repo-product-path }}' new_version="$(${{ github.action_path }}/scripts/detectNewVersion.sh $opt)" || true echo "new-version=$new_version" | tee $GITHUB_OUTPUT if [[ "$new_version" =~ "520" ]]; then