From 19f632b6be39ec9a76a94f65ab6a9d4cc9e094a4 Mon Sep 17 00:00:00 2001 From: Eric Peterson Date: Tue, 12 Dec 2023 16:19:03 -0800 Subject: [PATCH] Fix the file merging --- .github/workflows/analysis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index fc371c9..fcce16e 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -93,10 +93,12 @@ jobs: path: artifacts - name: Merge fitting results run: | - cat artifacts/Working_Data/test_output_*.csv > test_output.csv + head -n 1 $(ls artifacts/Working_Data/test_output_*.csv | head -n 1) > test_output.csv + tail -q -n +2 test_output_*.csv > test_output.csv - name: Merge timing results run: | - cat artifacts/Working_Data/test_duration_*.csv > test_duration.csv + head -n 1 $(ls artifacts/Working_Data/test_duration_*.csv | head -n 1) > test_duration.csv + tail -q -n +2 test_duration_*.csv > test_duration.csv - name: Upload merged artifacts uses: actions/upload-artifact@v3 with: