mirror of
https://github.com/mpv-player/mpv
synced 2025-02-06 07:01:45 +00:00
workflows/comment: more newline fixes to make formatting work
This commit is contained in:
parent
8fea10502e
commit
772b4fdde2
6
.github/workflows/comment.yml
vendored
6
.github/workflows/comment.yml
vendored
@ -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>"
|
||||
')
|
||||
|
Loading…
Reference in New Issue
Block a user