File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,15 +121,14 @@ jobs:
121121 echo '# Optimization run' >> "$GITHUB_STEP_SUMMARY"
122122 echo '<details><summary>Log</summary><pre>' >> "$GITHUB_STEP_SUMMARY"
123123 gh run view $deploy_run_id -j $optimize_job_id -R originlab/${{ matrix.site }} --log \
124- | awk '/find pages/ {f=1} /upload-artifact/ {f=0} f' \
124+ | awk '/find pages\/ / {f=1} /upload-artifact/ {f=0} f' \
125125 | cut -f3- | cut -d' ' -f2- \
126- # | grep '##[warning]' \
127- # | sed -E \
128- # -e 's/\r//g' \
129- # -e 's/\^\[\[[0-9;]*[a-zA-Z]//g' \
130- # -e 's/^##\[group\](.*)/<details><summary>\1<\/summary><pre>/g' \
131- # -e 's/^##\[endgroup\]/<\/pre><\/details>/g' \
132- # -e 's/^##\[warning\](.*)/> [!WARNING]\n> \1/g' \
126+ | sed -E \
127+ -e 's/\r//g' \
128+ -e 's/\^\[\[[0-9;]*[a-zA-Z]//g' \
129+ -e 's/^##\[group\](.*)/<details><summary>\1<\/summary><pre>/g' \
130+ -e 's/^##\[endgroup\]/<\/pre><\/details>/g' \
131+ -e 's/^##\[warning\](.*)/> [!WARNING]\n> \1/g' \
133132 >> "$GITHUB_STEP_SUMMARY"
134133 echo '</pre></details>' >> "$GITHUB_STEP_SUMMARY"
135134
You can’t perform that action at this time.
0 commit comments