Skip to content

Commit

Permalink
ci: fix uploading screenshots with cml
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed May 1, 2024
1 parent 028b9ea commit 855f06e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,9 @@ jobs:
aw_version=$(basename $aw_version_dir)
echo "<details><summary>Screenshots using $aw_server $aw_version (click to expand)</summary>" >> comment.md
echo '<p float="left">' >> comment.md
echo "<img width=\"45%\" src=\"$aw_version_dir/activity.png\"/>" >> comment.md
echo "<img width=\"45%\" src=\"$aw_version_dir/timeline.png\"/>" >> comment.md
echo "<img width=\"45%\" src=\"$aw_version_dir/settings.png\"/>" >> comment.md
echo "<img width=\"45%\" src=\"$aw_version_dir/home.png\"/>" >> comment.md
echo "<img width=\"45%\" src=\"$aw_version_dir/buckets.png\"/>" >> comment.md
echo "<img width=\"45%\" src=\"$aw_version_dir/stopwatch.png\"/>" >> comment.md
for screenshot in $aw_version_dir/*.png; do
echo "<img width=\"45%\" src=\"$(cml publish $screenshot)\"/>" >> comment.md
done
echo '</p>' >> comment.md
echo -n '</details>' >> comment.md
done
Expand Down

1 comment on commit 855f06e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are screenshots of this commit:

Screenshots using aw-server v0.12.3b11 (click to expand)

Screenshots using aw-server-rust master (click to expand)

Screenshots using aw-server-rust v0.12.3b11 (click to expand)

Please sign in to comment.