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
" ')