Skip to content

Commit 7c80593

Browse files
authored
Update microbiorust-py_benchmarks.yml
flattening directory for save results
1 parent a45e179 commit 7c80593

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/microbiorust-py_benchmarks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
# 2. PUT HISTORY
4545
- name: Restore results
4646
run: |
47-
if [ -d "old_pages/results/github-runner/" ]; then
47+
if [ -d "old_pages/results" ]; then
4848
echo "Restoring previous benchmark results..."
49-
mkdir -p microbiorust-py/.asv/results/github-runner/
50-
rsync -av old_pages/results/github-runner/ microbiorust-py/.asv/results/github-runner/
49+
mkdir -p microbiorust-py/.asv/results
50+
rsync -av old_pages/results/ microbiorust-py/.asv/results/
5151
else
5252
echo "No previous results found. Starting fresh."
5353
fi
@@ -66,9 +66,9 @@ jobs:
6666
- name: Save results for next time
6767
run: |
6868
# Make sure the destination exists inside the HTML folder
69-
mkdir -p microbiorust-py/.asv/html/results/github-runner/
69+
mkdir -p microbiorust-py/.asv/html/results/
7070
# Copy the accumulated JSON files (Old + New) into the publish dir
71-
rsync -av microbiorust-py/.asv/results/github-runner/ microbiorust-py/.asv/html/results/
71+
rsync -av microbiorust-py/.asv/results/ microbiorust-py/.asv/html/results/
7272
7373
# 6. UPLOAD EVERYTHING
7474
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)