From 86364c3313abcb20e626c445248d27a466be56b7 Mon Sep 17 00:00:00 2001 From: takahirom Date: Sat, 6 Jul 2024 16:13:07 +0900 Subject: [PATCH] Fix bash loop --- .github/workflows/screenshot-comparison-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/screenshot-comparison-comment.yml b/.github/workflows/screenshot-comparison-comment.yml index a36cb62a0..5e5996fca 100644 --- a/.github/workflows/screenshot-comparison-comment.yml +++ b/.github/workflows/screenshot-comparison-comment.yml @@ -111,7 +111,7 @@ jobs: } >> "$GITHUB_OUTPUT" # Iterate over the files and create table rows - for file in "${$files[@]}"; do + for file in "${files[@]}"; do # Get the file name and insert newlines every 20 characters fileName=$(basename "$file" | sed -r 's/(.{20})/\1
/g') urlPart="${BRANCH_NAME//#/%23}/${file//#/%23}"