Skip to content

Commit

Permalink
Added clean up step to jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieMc0 committed Jul 26, 2023
1 parent acca420 commit ef5c99d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ jobs:
zetacored-ubuntu-*
zetaclientd-ubuntu-*
- name: Clean Up Workspace
if: always()
run: |
echo "Cleaning up the workspace..."
echo "GITHUB_WORKSPACE:$GITHUB_WORKSPACE "
rm -rf $GITHUB_WORKSPACE/*
build-alpine-and-test:
runs-on: ["ubuntu-latest"]
timeout-minutes: 30
Expand Down Expand Up @@ -193,6 +200,13 @@ jobs:
zetacored-alpine-*
zetaclientd-alpine-*
- name: Clean Up Workspace
if: always()
run: |
echo "Cleaning up the workspace..."
docker stop $(docker ps -q)
rm -rf $GITHUB_WORKSPACE/*
smoke-test:
runs-on: ["zeta-runners"]
#runs-on: ubuntu-latest
Expand Down Expand Up @@ -242,6 +256,13 @@ jobs:
cd contrib/localnet/
docker compose down
- name: Clean Up Workspace
if: always()
run: |
echo "Cleaning up the workspace..."
echo "GITHUB_WORKSPACE:$GITHUB_WORKSPACE "
rm -rf $GITHUB_WORKSPACE/*
upload:
runs-on: ["zeta-runners"]
#runs-on: ubuntu-latest
Expand Down Expand Up @@ -356,6 +377,13 @@ jobs:
zetacored-ubuntu-20-amd64
zetaclientd-ubuntu-20-amd64
- name: Clean Up Workspace
if: always()
run: |
echo "Cleaning up the workspace..."
echo "GITHUB_WORKSPACE:$GITHUB_WORKSPACE "
rm -rf $GITHUB_WORKSPACE/*
upgrade_path_testing:
runs-on: ["buildjet-4vcpu-ubuntu-2204"]
timeout-minutes: 60
Expand Down

0 comments on commit ef5c99d

Please sign in to comment.