Skip to content

Commit 78c4d98

Browse files
authored
Use a different action and be a bit more hands-on with result handling. (#4038)
1 parent 2565a4f commit 78c4d98

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/nightly-benchmark-overhead.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,19 @@ jobs:
1818
path: gh-pages
1919
- name: copy results from gh-pages branch
2020
run: |
21-
rsync -avv gh-pages/benchmark-overhead/results/ benchmark-overhead/results/ && rm -rf gh-pages
21+
rsync -avv gh-pages/benchmark-overhead/results/ benchmark-overhead/results/
2222
- name: run tests
23+
working-directory: benchmark-overhead
2324
run: ./gradlew test
25+
- name: inspect the results dir
2426
working-directory: benchmark-overhead
27+
run: ls -lR results
28+
- name: copy results back to gh-pages branch
29+
run: rsync -avv benchmark-overhead/results/ gh-pages/benchmark-overhead/results/ && rm -rf benchmark-overhead/results
2530
- name: commit updated results
26-
uses: stefanzweifel/git-auto-commit-action@v4
31+
uses: EndBug/add-and-commit@v7
2732
with:
28-
branch: gh-pages
29-
commit_message: update test result data
30-
file_pattern: benchmark-overhead/results
33+
add: 'benchmark-overhead/results'
34+
cwd: './gh-pages'
35+
branch: 'gh-pages'
36+
message: 'update test result data'

benchmark-overhead/results/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)