From a5d8a25465200b30af6b27c9b7d3a46cb7ccd4fe Mon Sep 17 00:00:00 2001 From: Usman Akinyemi Date: Tue, 4 Mar 2025 20:09:23 +0530 Subject: [PATCH] fix: resolve artifact upload conflict by enabling overwrite Previously, the workflow failed with a 409 Conflict error due to existing artifacts in the workflow run. To address this, I added `overwrite: true` to all `upload-artifact` steps, ensuring that artifacts are replaced instead of causing conflicts. --- .github/workflows/analysis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 7f5c8b4..ab08ca9 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -77,6 +77,7 @@ jobs: path: | test_output_${{ matrix.algorithm }}_${{ matrix.SNR }}.csv test_duration_${{ matrix.algorithm }}_${{ matrix.SNR }}.csv + overwrite: true merge: runs-on: ubuntu-latest @@ -101,6 +102,7 @@ jobs: path: | test_output.csv test_duration.csv + overwrite: true analyze: runs-on: ubuntu-latest @@ -141,6 +143,8 @@ jobs: durations.pdf curve_plot.pdf fitted_curves.pdf + overwrite: true + compare: runs-on: ubuntu-latest @@ -171,3 +175,4 @@ jobs: path: | test_reference.csv test_results.csv + overwrite: true