0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

workflows/comment: more newline fixes to make formatting work

This commit is contained in:
Kacper Michajłow 2024-05-20 19:47:43 +02:00
parent 8fea10502e
commit 772b4fdde2

View File

@ -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<details><summary>Windows</summary>\n" +
"Download the artifacts for this pull request:\n<details><summary>Windows</summary>\n\n" +
(sort_by(.name) | map(select(.name | test("w64|msvc")) | entry) | join("\n")) +
"\n</details>\n\n<details><summary>macOS</summary>\n" +
"\n</details>\n<details><summary>macOS</summary>\n\n" +
(sort_by(.name) | map(select(.name | test("macos")) | entry) | join("\n")) +
"\n</details>"
')