Skip to content

Commit efd1489

Browse files
authored
Update benchmark.yml
1 parent 94b5ea5 commit efd1489

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ jobs:
1818
path: ./cache
1919
key: ${{ runner.os }}-benchmark
2020
- name: Save Benchmark Results
21-
uses: rhysd/github-action-benchmark@v1
21+
uses: benchmark-action/github-action-benchmark@v1
2222
with:
2323
tool: 'go'
2424
output-file-path: output.txt
2525
github-token: ${{ secrets.BENCHMARK_TOKEN }}
26+
benchmark-data-dir-path: 'benchmarks'
2627
fail-on-alert: true
27-
comment-on-alert: true
28-
auto-push: true
28+
comment-on-alert: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
29+
# Enable Job Summary for PRs - deactivated because of issues
30+
#summary-always: ${{ github.event_name != 'push' && github.event_name != 'workflow_dispatch' }}
31+
auto-push: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
32+
save-data-file: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}

0 commit comments

Comments
 (0)