Просмотр исходного кода

try <br> in github action for matrix newline

narodnik 5 лет назад
Родитель
Сommit
14577af170
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .github/workflows/matrix-commit-message.yml

+ 1 - 1
.github/workflows/matrix-commit-message.yml

@@ -15,7 +15,7 @@ jobs:
             MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i)
             MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i)
             # From this link the newline character is: %0A
             # From this link the newline character is: %0A
             # https://github.community/t/set-output-truncates-multiline-strings/16852
             # https://github.community/t/set-output-truncates-multiline-strings/16852
-            ALL_MSGS="$ALL_MSGS$MSG%0A"
+            ALL_MSGS="$ALL_MSGS$MSG<br>%0A"
           done
           done
           echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
           echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
         id: commit-message
         id: commit-message