diff --git a/action.yml b/action.yml index 84795df..74b866e 100644 --- a/action.yml +++ b/action.yml @@ -56,6 +56,7 @@ runs: 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 }}' new_version="$(${{ github.action_path }}/scripts/detectNewVersion.sh $opt)" || true echo "new-version=$new_version" | tee $GITHUB_OUTPUT if [[ "$new_version" =~ "520" ]]; then