Skip to content

Commit

Permalink
try embedding link to artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Oct 29, 2024
1 parent bfac9c2 commit 820f2b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 820f2b2

Please sign in to comment.