Skip to content

Commit 3ed323a

Browse files
committed
Update sed.
1 parent 991bf7e commit 3ed323a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,11 @@ jobs:
9696
| awk '/generator\.dll"/ {f=1} /upload-artifact/ {f=0} f' \
9797
| cut -f3- | cut -d' ' -f2- \
9898
| sed -E \
99-
-e 's/\x1b\[[0-9;]*m//g' \
100-
-e 's/^::warning(.*)::(.*)/##Warning:## \2/g' \
101-
-e 's/^::group::(.*)/#### \1/g' \
102-
-e 's/^::endgroup:://g' \
99+
-e "s/"$'\x1b'"\[[0-9;]*[a-zA-Z]//g" \
100+
-e 's/\r//g' \
101+
-e 's/^##\[group\](.*)/<details><summary><b>\1<\/b><\/summary><pre>/g' \
102+
-e 's/^##\[endgroup\]/<\/pre><\/details>/g' \
103+
-e 's/^##\[warning\](.*)/<blockquote><b>Warning:<\/b> \1<\/blockquote>/g' \
103104
>> "$GITHUB_STEP_SUMMARY"
104105
105106
- name: Print artifacts summary

0 commit comments

Comments
 (0)