From 155ef34e1cb9aa3619cca53378c4731a72dbfc37 Mon Sep 17 00:00:00 2001 From: Alex-Welsh Date: Sat, 28 Dec 2024 20:41:55 +0000 Subject: [PATCH] Print final log lines to gh output --- .github/workflows/multinode.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/multinode.yml b/.github/workflows/multinode.yml index 5d1c8d2..bc28513 100644 --- a/.github/workflows/multinode.yml +++ b/.github/workflows/multinode.yml @@ -363,6 +363,11 @@ jobs: working-directory: ${{ github.workspace }}/terraform-kayobe-multinode if: ${{ always() && steps.config_ach.outcome == 'success' }} + - name: Print final lines of tmux log + run: | + tail -n 250 ${{ github.workspace }}/logs/tmux.kayobe:0.log + if: ${{ failure() && steps.config_ach.outcome == 'success' }} + # GitHub Actions does not accept filenames with certain characters, and # fails the upload-artifact action if any exist. The tmux log file # contains a colon, as do previous Tempest results directories.