File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 6262 - name : Generate file list
6363 env :
6464 PATTERN : ${{ matrix.pattern }}
65+ DESCRIPTION : ${{ matrix.description }}
6566 NEW_TAG : ${{ matrix.new_tag }}
6667 OLD_TAG : ${{ matrix.old_tag }}
67- run : echo "$(git diff --name-status $OLD_TAG...$NEW_TAG | grep -E '^($PATTERN)' | cut -c3-)" >> $GITHUB_STEP_SUMMARY
68+ run : |
69+ DIFF_OUTPUT=$(git diff --name-status $OLD_TAG...$NEW_TAG | grep -E "^($PATTERN)" | cut -c3-)
70+ if [ -n "$DIFF_OUTPUT" ]; then
71+ echo "$DIFF_OUTPUT" >> $GITHUB_STEP_SUMMARY
72+ else
73+ echo "No files $DESCRIPTION found" >> $GITHUB_STEP_SUMMARY
74+ fi
6875
6976 slack-notifications :
7077 name : Slack Notifications
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - trunk
7+ - ' add/changed-files-on-tag'
78 - ' 6.[8-9]'
89 - ' [7-9].[0-9]'
910 paths :
You can’t perform that action at this time.
0 commit comments