From 8711e15734b0d5e24716f16263c2dd15a337d30f Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Tue, 12 Oct 2021 16:09:49 -0400 Subject: Always dump logs from trial during CI. (#11068) Instead of only dumping them if trial passes. --- .github/workflows/twisted_trunk.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows/twisted_trunk.yml') diff --git a/.github/workflows/twisted_trunk.yml b/.github/workflows/twisted_trunk.yml index b5c729888f..e974ac7aba 100644 --- a/.github/workflows/twisted_trunk.yml +++ b/.github/workflows/twisted_trunk.yml @@ -33,6 +33,8 @@ jobs: TRIAL_FLAGS: "--jobs=2" - name: Dump logs + # Logs are most useful when the command fails, always include them. + if: ${{ always() }} # Note: Dumps to workflow logs instead of using actions/upload-artifact # This keeps logs colocated with failing jobs # It also ignores find's exit code; this is a best effort affair -- cgit 1.4.1