Skip to content

Commit 334f075

Browse files
committed
improvements.
1 parent e8234c6 commit 334f075

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
1+
name: Sync benchmark
2+
3+
on:
4+
workflow_dispatch:
5+
16
jobs:
27
sync-benchmark:
38
runs-on: ubuntu-latest
49
steps:
510
- uses: actions/checkout@v4
11+
612
- name: Inject benchmark into README
713
run: |
814
sed -e '/<!-- BEGIN BENCHMARK -->/ {
9-
r integeration_test/benchmark.md
10-
d
11-
}' README.md > README.tmp
15+
r integeration_test/benchmark.md
16+
d
17+
}' README.md > README.tmp
1218
mv README.tmp README.md
19+
1320
- name: Commit README changes
1421
uses: stefanzweifel/git-auto-commit-action@v4
1522
with:
1623
commit_message: chore: sync benchmark into README
24+
file_pattern: README.md

0 commit comments

Comments
 (0)