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