chore: Cleanup fcli dirs (#279)

This commit is contained in:
Anatolios Laskaris 2023-10-24 20:43:12 +03:00 committed by GitHub
parent 1f44cdc3b1
commit a7051d748b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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