We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0de11 commit 226c561Copy full SHA for 226c561
1 file changed
actions/taskfile-runner/action.yml
@@ -210,5 +210,17 @@ runs:
210
echo "- Command: \`${{ inputs.command }}\`"
211
echo "- Directory: \`${{ inputs.dir }}\`"
212
echo "- Task version: \`${{ steps.install.outputs.version }}\`"
213
+
214
+ if [ -s "$TMP" ]; then
215
+ echo ""
216
+ if [ "$LINES" -le "$LIMIT" ]; then
217
+ echo "### 🧾 Task output"
218
+ else
219
+ echo "### 🧾 Task output (first ${LIMIT} lines of ${LINES})"
220
+ fi
221
+ echo '```'
222
+ sed -n "1,${LIMIT}p" "$TMP"
223
224
225
} >> "$GITHUB_STEP_SUMMARY"
226
0 commit comments