File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 9494 steps :
9595 - name : Abort if extra not changed (${{matrix.cdk_extra}})
9696 id : no_changes
97- if : ${{ matrix.cdk_extra != 'n/a' && needs.cdk_changes.outputs[matrix.cdk_extra] == 'false' }}
97+ if : ${{ needs.cdk_changes.outputs['src'] == 'false' || matrix.cdk_extra != 'n/a' && needs.cdk_changes.outputs[matrix.cdk_extra] == 'false' }}
9898 run : |
99- echo "Aborting job as specified extra not changed: ${{matrix.cdk_extra}} = ${{ needs.cdk_changes.outputs[matrix.cdk_extra] }}"
99+ echo "Aborting job."
100+ echo "Source code changed: ${{ needs.cdk_changes.outputs['src'] }}"
101+ if [ "${{ matrix.cdk_extra }}" != "n/a" ]; then
102+ echo "Extra not changed: ${{ matrix.cdk_extra }} = ${{ needs.cdk_changes.outputs[matrix.cdk_extra] }}"
103+ fi
100104 echo "> Skipped '${{matrix.connector}}' (no relevant changes)" >> $GITHUB_STEP_SUMMARY
101105 echo "status=cancelled" >> $GITHUB_OUTPUT
102106 exit 0
You can’t perform that action at this time.
0 commit comments