Always upload sim test logs (#8082)

This CI job failed

https://github.com/sigp/lighthouse/actions/runs/17815533375/job/50647915897

But we lost the logs because they aren't uploaded when the job fails. This PR changes the step to always upload job, even in the case of failure.


  


Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
Jimmy Chen
2025-09-19 22:58:46 +10:00
committed by GitHub
parent 4efe47b3c3
commit 366fb0ee0d

View File

@@ -225,6 +225,7 @@ jobs:
TEST_FEATURES: portable
CI_LOGGER_DIR: ${{ runner.temp }}/network_test_logs
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
with:
name: network_test_logs
@@ -328,6 +329,7 @@ jobs:
- name: Run a basic beacon chain sim that starts from Deneb
run: cargo run --release --bin simulator basic-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/basic_simulator_logs
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
with:
name: basic_simulator_logs
@@ -349,6 +351,7 @@ jobs:
- name: Run a beacon chain sim which tests VC fallback behaviour
run: cargo run --release --bin simulator fallback-sim --disable-stdout-logging --log-dir ${{ runner.temp }}/fallback_simulator_logs
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
with:
name: fallback_simulator_logs