Skip to content

Commit 17adc59

Browse files
committed
refactor workflow: enhance performance data extraction with nested archive handling
1 parent c0ec6fa commit 17adc59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@ jobs:
8484
- name: Extract performance data
8585
run: |
8686
mkdir -p build/perf_stat_dir
87+
# The uploaded artifact contains a nested perf-stat.zip inside.
88+
# First unzip extracts the inner archive; the second extracts perf_stat_dir/*.
8789
unzip -o perf-stat.zip -d .
90+
if [ -f "perf-stat.zip" ]; then
91+
mv -f perf-stat.zip perf-stat-inner.zip
92+
unzip -o perf-stat-inner.zip -d .
93+
fi
8894
- name: CMake configure
8995
run: |
9096
cmake -S . -B build -DUSE_SCOREBOARD=ON

0 commit comments

Comments
 (0)