File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,17 +119,19 @@ jobs:
119119 - name : Summarize the optimization run
120120 run : |
121121 echo '# Optimization run' >> "$GITHUB_STEP_SUMMARY"
122+ echo '<details><summary>Log</summary><pre>' >> "$GITHUB_STEP_SUMMARY"
122123 gh run view $deploy_run_id -j $optimize_job_id -R originlab/${{ matrix.site }} --log \
123124 | awk '/find pages\// {f=1} /upload-artifact/ {f=0} f' \
124125 | cut -f3- | cut -d' ' -f2- \
125- | grep '##[warning]' \
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' \
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' \
132133 >> "$GITHUB_STEP_SUMMARY"
134+ echo '</pre></details>' >> "$GITHUB_STEP_SUMMARY"
133135
134136 - name : Summarize artifacts
135137 run : |
You can’t perform that action at this time.
0 commit comments