fix: use artifact-url output for direct APK download link
The manually constructed URL was invalid. Use the artifact-url output from upload-artifact which provides the correct download URL. https://claude.ai/code/session_0138kUcZaPQoQcAc7nA1KDbf
This commit is contained in:
@@ -48,7 +48,7 @@ jobs:
|
||||
with:
|
||||
script: |
|
||||
const runUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`;
|
||||
const artifactUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}/artifacts/${{ steps.upload.outputs.artifact-id }}`;
|
||||
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).`;
|
||||
|
||||
await github.rest.repos.createCommitComment({
|
||||
|
||||
Reference in New Issue
Block a user