From 8d63fb2263fa6ab7de3a2cbb2f59ec76dc9d40c3 Mon Sep 17 00:00:00 2001 From: Manan Gupta Date: Wed, 23 Mar 2022 10:49:45 +0530 Subject: [PATCH] ci: save the workflow run outputs Signed-off-by: Manan Gupta --- .github/workflows/upgrade_downgrade_test_backups_manual.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/upgrade_downgrade_test_backups_manual.yml b/.github/workflows/upgrade_downgrade_test_backups_manual.yml index b0a91f235f8..ec4ce7acbf7 100644 --- a/.github/workflows/upgrade_downgrade_test_backups_manual.yml +++ b/.github/workflows/upgrade_downgrade_test_backups_manual.yml @@ -215,6 +215,12 @@ jobs: echo "select count(email) from customer;" | mysql 2>&1| grep 6 echo "select count(sku) from corder;" | mysql 2>&1| grep 6 + - name: Copy the logs to save them + if: always() + run: | + echo "vtdataroot-$GITHUB_SHA-$GITHUB_RUN_ATTEMPT" + cp -r vtdataroot ~/savedRuns/vtdataroot-$GITHUB_SHA-$GITHUB_RUN_ATTEMPT + - name: Stop the Vitess cluster if: always() run: |