From 7dfd9abe9ee39268608915ee5111b6781585ce64 Mon Sep 17 00:00:00 2001 From: Stefan Iliev <46542846+StefanIliev545@users.noreply.github.com> Date: Thu, 12 Oct 2023 14:04:52 +0300 Subject: [PATCH] Save logs (#1594) * removed the if condition for saving the logs. * Removed if condition on upload task. * Changed step names. --------- Co-authored-by: StefanIliev545 --- .github/workflows/manual-deploy-testnet-l2.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/manual-deploy-testnet-l2.yml b/.github/workflows/manual-deploy-testnet-l2.yml index 3e8c1299c6..12bf906a34 100644 --- a/.github/workflows/manual-deploy-testnet-l2.yml +++ b/.github/workflows/manual-deploy-testnet-l2.yml @@ -329,14 +329,12 @@ jobs: -docker_image=${{vars.L2_HARDHATDEPLOYER_DOCKER_BUILD_TAG}} \ -faucet_funds=${{vars.FAUCET_FUNDS}} - - name: 'Save container logs on failure' - if: failure() + - name: 'Save container logs' run: | docker logs `docker ps -aqf "name=hh-l2-deployer"` > deploy-l2-contracts.out 2>&1 - - name: 'Upload container logs on failure' + - name: 'Upload container logs' uses: actions/upload-artifact@v3 - if: failure() with: name: deploy-l2-artifacts path: |