diff options
author | der richter <der.richter@gmx.de> | 2024-02-21 22:26:10 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-02-24 20:04:16 +0100 |
commit | 555bdf78b265bc23a3658bedad07daa3eab9b19c (patch) | |
tree | 9fdd302c8ad8fbe48c92197c3d65c004404109c1 /.github | |
parent | 0ed023653aa8ec633a0ff3b7f2fe05073748209e (diff) | |
download | mpv-555bdf78b265bc23a3658bedad07daa3eab9b19c.tar.bz2 mpv-555bdf78b265bc23a3658bedad07daa3eab9b19c.tar.xz |
github/workflows: link macOS artifacts in comments
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/comment.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 7f9603a753..c80f1d800d 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -45,6 +45,13 @@ jobs: body += `\n* [${art.name}](${art_link})`; } } + body += `\n</details>\n\n<details><summary>macOS</summary>\n`; + for (const art of artifacts) { + const art_link = `https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip`; + if (art.name.includes('macos')) { + body += `\n* [${art.name}](${art_link})`; + } + } body += `\n</details>`; const { data: comments } = await github.rest.issues.listComments({ repo, owner, issue_number }); |