Skip to content

Commit 61b420e

Browse files
committed
[CI] Use direct link to benchmarks artifact instead of giving long instructions
1 parent ca3dd49 commit 61b420e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/benchmark_pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
benchpkgplot ${{ steps.extract-package-name.outputs.package_name }} --rev="${{github.event.repository.default_branch}},${{github.event.pull_request.head.sha}}" --npart=10 --format=png --input-dir=results/ --output-dir=plots/
5050
- name: Upload plot as artifact
5151
uses: actions/upload-artifact@v4
52+
id: artifact-upload-step
5253
with:
5354
name: plots
5455
path: plots
@@ -62,8 +63,7 @@ jobs:
6263
echo '' >> body.md
6364
echo '' >> body.md
6465
echo '### Benchmark Plots' >> body.md
65-
echo 'A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.' >> body.md
66-
echo 'Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).' >> body.md
66+
echo 'A plot of the benchmark results have been uploaded as an artifact at ${{ steps.artifact-upload-step.outputs.artifact-url }}.' >> body.md
6767
6868
- name: Find Comment
6969
uses: peter-evans/find-comment@v3

0 commit comments

Comments
 (0)