Skip to content

Commit 698b0b5

Browse files
committed
Fix the file merging
1 parent 55e85ba commit 698b0b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/analysis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,12 @@ jobs:
9393
path: artifacts
9494
- name: Merge fitting results
9595
run: |
96-
cat artifacts/Working_Data/test_output_*.csv > test_output.csv
96+
head -n 1 $(ls artifacts/Working_Data/test_output_*.csv | head -n 1) > test_output.csv
97+
tail -q -n +2 test_output_*.csv > test_output.csv
9798
- name: Merge timing results
9899
run: |
99-
cat artifacts/Working_Data/test_duration_*.csv > test_duration.csv
100+
head -n 1 $(ls artifacts/Working_Data/test_duration_*.csv | head -n 1) > test_duration.csv
101+
tail -q -n +2 test_duration_*.csv > test_duration.csv
100102
- name: Upload merged artifacts
101103
uses: actions/upload-artifact@v3
102104
with:

0 commit comments

Comments
 (0)