diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 9a814071..09140268 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -44,6 +44,7 @@ jobs: mkdir -p plots 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/ - name: Upload plot as artifact + id: artifact-upload-step uses: actions/upload-artifact@v4 with: name: plots @@ -59,8 +60,7 @@ jobs: echo '' >> body.md echo '### Benchmark Plots' >> body.md echo 'A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.' >> body.md - echo 'Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).' >> body.md - + echo '![Benchmark Plot](${{ steps.artifact-upload-step.outputs.artifact-url }})' >> body.md - name: Find Comment uses: peter-evans/find-comment@v3 id: fcbenchmark