Skip to content

Commit 618f77b

Browse files
committed
Try using code block for details.
1 parent 7549d2a commit 618f77b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ jobs:
144144
for (msg in count) {
145145
print "\n> [!WARNING]"
146146
print "> " count[msg] " file(s) were skipped because `" msg "`\n"
147-
print "<details><summary>Show affected files</summary><pre>\n"
147+
print "<details><summary>Show affected files</summary>\n```\n"
148148
print files[msg]
149-
print "</pre></details>"
149+
print "```</details>"
150150
}
151151
}
152152
' >> "$GITHUB_STEP_SUMMARY"
@@ -165,9 +165,9 @@ jobs:
165165
for (msg in count) {
166166
print "\n> [!NOTE]"
167167
print "> " count[msg] " file(s) were optimized despite `" msg "`\n"
168-
print "<details><summary>Show affected files</summary><pre>\n"
168+
print "<details><summary>Show affected files</summary>\n```\n"
169169
print files[msg]
170-
print "</pre></details>"
170+
print "```</details>"
171171
}
172172
}
173173
' >> "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)