Skip to content

Commit 7d05057

Browse files
Use benchmarkdotnet-results-publisher
Use `martincostello/benchmarkdotnet-results-publisher` instead of `benchmark-action/github-action-benchmark`.
1 parent 459b9cb commit 7d05057

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/benchmark.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,13 @@ jobs:
4747
"repo-name=${repoName}" >> ${env:GITHUB_OUTPUT}
4848
4949
- name: Publish results
50-
uses: benchmark-action/github-action-benchmark@v1
50+
uses: martincostello/benchmarkdotnet-results-publisher@v1
5151
with:
52-
auto-push: true
53-
alert-comment-cc-users: '@${{ github.repository_owner }}'
54-
benchmark-data-dir-path: ${{ steps.get-repo-name.outputs.repo-name }}
55-
comment-on-alert: true
56-
fail-on-alert: true
57-
gh-pages-branch: ${{ github.ref_name }}
58-
gh-repository: 'github.com/${{ github.repository_owner }}/benchmarks'
59-
github-token: ${{ secrets.BENCHMARKS_TOKEN }}
52+
branch: ${{ github.ref_name }}
6053
name: 'ASP.NET Core OpenAPI'
61-
output-file-path: BenchmarkDotNet.Artifacts/results/TodoApp.OpenApiBenchmarks-report-full-compressed.json
62-
tool: benchmarkdotnet
54+
output-file-path: '${{ steps.get-repo-name.outputs.repo-name }}/data.json'
55+
repo: '${{ github.repository_owner }}/benchmarks'
56+
repo-token: ${{ secrets.BENCHMARKS_TOKEN }}
6357

6458
- name: Output summary
6559
shell: pwsh

0 commit comments

Comments
 (0)