From 6ee4eb224f63c1390e96142dad32b3c904da17b5 Mon Sep 17 00:00:00 2001 From: Stephan Arenswald Date: Mon, 6 Apr 2026 13:08:18 +0200 Subject: [PATCH] fix: Links missing in pr merge comments --- .github/workflows/distribute-snapshot.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/distribute-snapshot.yml b/.github/workflows/distribute-snapshot.yml index d6425c5..08bcec2 100644 --- a/.github/workflows/distribute-snapshot.yml +++ b/.github/workflows/distribute-snapshot.yml @@ -76,16 +76,18 @@ jobs: uses: actions/github-script@v7 env: ARTIFACT_LABEL: ${{ needs.prepare.outputs.artifact-label }} + S3_DOWNLOAD_URL: ${{ vars.S3_DOWNLOAD_URL }} with: script: | const label = process.env.ARTIFACT_LABEL; + const baseUrl = process.env.S3_DOWNLOAD_URL; const body = [ `**Snapshot build ready** \u2705`, ``, - `| Artifact | File |`, + `| Artifact | Link |`, `|----------|------|`, - `| DMG | \`MacPacker-${label}.dmg\` |`, - `| ZIP | \`MacPacker-${label}.zip\` |`, + `| DMG | [MacPacker-${label}.dmg](${baseUrl}/MacPacker-${label}.dmg) |`, + `| ZIP | [MacPacker-${label}.zip](${baseUrl}/MacPacker-${label}.zip) |`, ``, `Build number: \`${{ needs.prepare.outputs.build-number }}\``, ].join('\n');