From 772b4fdde25cedb9f73edc19fd86733133023e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Mon, 20 May 2024 19:47:43 +0200 Subject: [PATCH] workflows/comment: more newline fixes to make formatting work --- .github/workflows/comment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index bbbb3b6b60..4038ff8de1 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -29,11 +29,11 @@ jobs: fi body=$(echo "$artifacts" | jq -r ' - def link: "https://nightly.link/${{ github.repository_owner }}/${{ github.repository }}/actions/artifacts/\(.id).zip"; + def link: "https://nightly.link/${{ github.repository }}/actions/artifacts/\(.id).zip"; def entry: "* [\(.name)](\(link))"; - "Download the artifacts for this pull request:\n\n
Windows\n" + + "Download the artifacts for this pull request:\n
Windows\n\n" + (sort_by(.name) | map(select(.name | test("w64|msvc")) | entry) | join("\n")) + - "\n
\n\n
macOS\n" + + "\n
\n
macOS\n\n" + (sort_by(.name) | map(select(.name | test("macos")) | entry) | join("\n")) + "\n
" ')