From 855f06e4a4c75768fa2ddf109154e4308c41f349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Wed, 1 May 2024 12:49:23 +0200 Subject: [PATCH] ci: fix uploading screenshots with cml --- .github/workflows/comment.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index c570033d..6518c81c 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -61,12 +61,9 @@ jobs: aw_version=$(basename $aw_version_dir) echo "
Screenshots using $aw_server $aw_version (click to expand)" >> comment.md echo '

' >> comment.md - echo "" >> comment.md - echo "" >> comment.md - echo "" >> comment.md - echo "" >> comment.md - echo "" >> comment.md - echo "" >> comment.md + for screenshot in $aw_version_dir/*.png; do + echo "" >> comment.md + done echo '

' >> comment.md echo -n '
' >> comment.md done