Skip to content

Commit

Permalink
Merge pull request #26 from AlexAtkinson/feature/mono_repo_safety
Browse files Browse the repository at this point in the history
THX-1138: Adjust inputs qualifier.
  • Loading branch information
AlexAtkinson authored Dec 20, 2024
2 parents 9aee2e4 + 2127d7c commit 41f27cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41f27cc

Please sign in to comment.