Use a different action and be a bit more hands-on with result handling.
MODIFY
.github/workflows/nightly-benchmark-overhead.yml
.github/workflows/nightly-benchmark-overhead.yml
@@ -18,13 +18,19 @@ jobs:
path: gh-pages
- name: copy results from gh-pages branch
run: |
- rsync -avv gh-pages/benchmark-overhead/results/ benchmark-overhead/results/ && rm -rf gh-pages
+ rsync -avv gh-pages/benchmark-overhead/results/ benchmark-overhead/results/
- name: run tests
+ working-directory: benchmark-overhead
run: ./gradlew test
+ - name: inspect the results dir
working-directory: benchmark-overhead
+ run: ls -lR results
+ - name: copy results back to gh-pages branch
+ run: rsync -avv benchmark-overhead/results/ gh-pages/benchmark-overhead/results/ && rm -rf benchmark-overhead/results
- name: commit updated results
- uses: stefanzweifel/git-auto-commit-action@v4
+ uses: EndBug/add-and-commit@v7
with:
- branch: gh-pages
- commit_message: update test result data
- file_pattern: benchmark-overhead/results
\ No newline at end of file
+ add: 'benchmark-overhead/results'
+ cwd: './gh-pages'
+ branch: 'gh-pages'
+ message: 'update test result data'

DELETE
benchmark-overhead/results/README.md
-This directory contains the results data.
\ No newline at end of file

Use a different action and be a bit more hands-on with result handling. (#4038)