fix: use nightly.link for direct APK download without auth

GitHub artifact URLs require authentication and don't provide direct
file downloads. nightly.link proxies artifact downloads, giving a
direct download link that works for anyone without GitHub login.

https://claude.ai/code/session_0138kUcZaPQoQcAc7nA1KDbf
This commit is contained in:
Claude
2026-03-17 03:47:47 +00:00
parent af12d13d67
commit 6bc927147c
+3 -2
View File
@@ -48,8 +48,9 @@ jobs:
with:
script: |
const runUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`;
const artifactUrl = `${{ steps.upload.outputs.artifact-url }}`;
const body = `📦 **Benchmark APK ready!**\n\nDownload: [Play Benchmark APK](${artifactUrl})\n\nOr view all artifacts in the [workflow run](${runUrl}#artifacts).`;
const artifactName = encodeURIComponent('Play Benchmark APK');
const nightlyUrl = `https://nightly.link/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}/${artifactName}.zip`;
const body = `📦 **Benchmark APK ready!**\n\nDownload: [Play Benchmark APK](${nightlyUrl})\n\nOr view all artifacts in the [workflow run](${runUrl}#artifacts).`;
await github.rest.repos.createCommitComment({
owner: context.repo.owner,