Skip to content

Commit 706d3ad

Browse files
committed
CI: Archive main log files both in success and failure
1 parent 89c55e8 commit 706d3ad

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/generate_reference_results_workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
git commit -m "${{inputs.commit_msg}}"
9191
git push
9292
- name: Archive main log files
93+
if: ${{ always() }}
9394
uses: actions/upload-artifact@v7
9495
with:
9596
name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_reference_logs

.github/workflows/run_testsuite_workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
python systemtests.py --build_args=${{ inputs.build_args}} --suites=${{ inputs.suites}} --log-level=${{ inputs.log_level}}
8080
cd ../../
8181
- name: Archive main log files
82+
if: ${{ always() }}
8283
uses: actions/upload-artifact@v7
8384
with:
8485
name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_logs
@@ -87,7 +88,7 @@ jobs:
8788
runs/*/system-tests-stderr.log
8889
runs/*/*/system-tests_*.log
8990
- name: Archive run files
90-
if: ${{ failure() || inputs.upload_artifacts == 'TRUE' }}
91+
if: ${{ failure() || inputs.upload_artifacts == 'TRUE' }}
9192
uses: actions/upload-artifact@v7
9293
with:
9394
name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_full

0 commit comments

Comments
 (0)