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 94
94
steps :
95
95
- name : Abort if extra not changed (${{matrix.cdk_extra}})
96
96
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' }}
98
98
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
100
104
echo "> Skipped '${{matrix.connector}}' (no relevant changes)" >> $GITHUB_STEP_SUMMARY
101
105
echo "status=cancelled" >> $GITHUB_OUTPUT
102
106
exit 0
You can’t perform that action at this time.
0 commit comments