Skip to content

Commit 0ba0636

Browse files
authored
Merge pull request #28 from AlexAtkinson/feature/mono_repo_safety
THX-1138: Debug
2 parents 6b0ea68 + 05af7b2 commit 0ba0636

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,17 @@ runs:
5050
cd $GITHUB_WORKSPACE
5151
opt=''
5252
[[ "${{ inputs.force-re-evaluate }}" == 'true' ]] && opt='$opt -f'
53+
[[ "${{ inputs.force-re-evaluate }}" == 'true' ]] && echo "DEBUG 01: ${{ inputs.force-re-evaluate }}"
54+
echo "DEBUG 01x: ${{ inputs.force-re-evaluate }}"
5355
[[ "${{ inputs.force-patch-increment }}" == 'true' ]] && opt='$opt -p'
56+
[[ "${{ inputs.force-patch-increment }}" == 'true' ]] && echo "DEBUG 02: ${{ inputs.force-patch-increment }}"
57+
echo "DEBUG 02x: ${{ inputs.force-patch-increment }}"
5458
[[ "${{ inputs.mono-repo-product-name }}" != "" ]] && opt='$opt -n ${{ inputs.mono-repo-product-name }}'
59+
[[ "${{ inputs.mono-repo-product-name }}" != "" ]] && echo "DEBUG 03: ${{ inputs.mono-repo-product-name }}"
60+
echo "DEBUG 03x: ${{ inputs.mono-repo-product-name }}"
5561
[[ "${{ inputs.mono-repo-product-path }}" != "" ]] && opt='$opt -d ${{ inputs.mono-repo-product-path }}'
62+
[[ "${{ inputs.mono-repo-product-path }}" != "" ]] && echo "DEBUG 04: ${{ inputs.mono-repo-product-path }}"
63+
echo "DEBUG 04x: ${{ inputs.mono-repo-product-path }}"
5664
new_version="$(${{ github.action_path }}/scripts/detectNewVersion.sh $opt)" || true
5765
echo "new-version=$new_version" | tee $GITHUB_OUTPUT
5866
if [[ "$new_version" =~ "520" ]]; then

0 commit comments

Comments
 (0)