From a7051d748b94477497e581821abae24edb4f64a2 Mon Sep 17 00:00:00 2001 From: Anatolios Laskaris Date: Tue, 24 Oct 2023 20:43:12 +0300 Subject: [PATCH] chore: Cleanup fcli dirs (#279) --- .github/workflows/tests.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ca460fd..70a05c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -103,10 +103,14 @@ jobs: path: service/ - name: Build service + env: + FLUENCE_USER_DIR: "${{ github.workspace }}/tmp/.fluence" run: ./build.sh working-directory: service - name: Build distro + env: + FLUENCE_USER_DIR: "${{ github.workspace }}/tmp/.fluence" run: ./build.sh - name: Login to DockerHub @@ -164,14 +168,12 @@ jobs: \`\`\` SNAPSHOT - - name: Dump rust-peer logs on failure + - name: Dump container logs if: always() uses: jwalton/gh-docker-logs@v2 - - name: Remove registry directory + - name: Cleanup if: always() - run: sudo rm -rf registry - - - name: Remove tmp directory - if: always() - run: sudo rm -rf tmp + run: | + rm -rf tmp ~/.fluence + sudo rm -rf registry