Skip to content

Commit e98062b

Browse files
author
dmitrivasilyev
committed
some fixes
1 parent 45f8593 commit e98062b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/bench.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,12 @@ jobs:
8787
run: |
8888
git config --local user.email "github-actions[bot]@users.noreply.github.com"
8989
git config --local user.name "github-actions[bot]"
90+
# Save benchmarks.md before reset
91+
cp documentation/docs/benchmarks.md /tmp/benchmarks.md.tmp
9092
git fetch origin ${{ github.ref_name }}
9193
git reset --hard origin/${{ github.ref_name }}
94+
# Restore benchmarks.md after reset
95+
cp /tmp/benchmarks.md.tmp documentation/docs/benchmarks.md
9296
git add documentation/docs/benchmarks.md
9397
git diff --staged --quiet || git commit -m "Update benchmark results [skip ci]"
9498
git push --force-with-lease

0 commit comments

Comments
 (0)