From 41d24aa97d143ec108aab39125ee100fc0bed46b Mon Sep 17 00:00:00 2001 From: Flouse <1297478+Flouse@users.noreply.github.com> Date: Wed, 23 Aug 2023 09:29:09 +0000 Subject: [PATCH] fix(ci): actions/upload-artifact is not stable: slow/broken see https://github.com/actions/upload-artifact/issues/429 --- .github/workflows/axon-start-with-short-genesis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/axon-start-with-short-genesis.yml b/.github/workflows/axon-start-with-short-genesis.yml index 096cd2274..9ba3e0d5e 100644 --- a/.github/workflows/axon-start-with-short-genesis.yml +++ b/.github/workflows/axon-start-with-short-genesis.yml @@ -49,8 +49,9 @@ jobs: await waitXBlocksPassed('http://127.0.0.1:8000', 2); EOF timeout-minutes: 1 + - name: Archive logs - if: always() + if: failure() uses: actions/upload-artifact@v3 with: name: single-axon-node-logs @@ -113,7 +114,7 @@ jobs: timeout-minutes: 1 - name: Archive logs - if: always() + if: failure() uses: actions/upload-artifact@v3 with: name: multi-axon-nodes-logs