Skip to content

Commit 56a5091

Browse files
committed
add differences to output
1 parent 785ee05 commit 56a5091

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

  • .github/actions/check-concepts-up-to-date

.github/actions/check-concepts-up-to-date/action.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ runs:
6060
echo '```'
6161
echo
6262
echo "</details>"
63+
echo
64+
echo "<details><summary>Actual differences</summary>"
65+
echo
66+
echo '```diff'
67+
cat concept-drift.diff
68+
echo '```'
69+
echo
70+
echo "</details>"
6371
} >> "$GITHUB_STEP_SUMMARY"
6472
6573
- name: Report neutral check run when out of date
@@ -93,6 +101,11 @@ runs:
93101
'```',
94102
files,
95103
'```',
104+
'',
105+
'### Actual differences',
106+
'```diff',
107+
diff,
108+
'```',
96109
].join('\n');
97110
98111
try {
@@ -106,7 +119,6 @@ runs:
106119
output: {
107120
title: 'Transpiled concepts are out of date',
108121
summary,
109-
text: diff ? ['```diff', diff, '```'].join('\n') : undefined,
110122
},
111123
});
112124
} catch (error) {

0 commit comments

Comments
 (0)