We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853159d commit b8e91e0Copy full SHA for b8e91e0
action.yml
@@ -90,11 +90,14 @@ runs:
90
# Send stdout to GITHUB_OUTPUT
91
(echo -n "stdout=" && cat "${tmpout}") >> "$GITHUB_OUTPUT"
92
93
+ # Set up ANSI to HTML converter
94
+ sudo npm install -g ansi-to-html
95
+
96
# Append formatted stdout to GITHUB_STEP_SUMMARY
97
{
98
echo "### Dagger stdout"
99
echo ""
- echo "<pre><code>"
100
+ echo -n "<pre><code>"
101
cat "${tmpout}"
102
echo "</code></pre>"
103
@@ -104,8 +107,8 @@ runs:
104
107
105
108
echo "### Dagger stderr"
106
109
- cat "${tmperr}"
110
111
+ ansi-to-html < "${tmperr}"
112
113
114
} >> $GITHUB_STEP_SUMMARY
0 commit comments