Skip to content

Commit

Permalink
clean-up space
Browse files Browse the repository at this point in the history
  • Loading branch information
Kailai-Wang committed Oct 11, 2023
1 parent f22aede commit 648aa8f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,6 @@ jobs:
if: needs.set-condition.outputs.rebuild_tee == 'true'
container: 'litentry/litentry-tee-dev:latest'
steps:
- name: Free up disk space
if: startsWith(runner.name, 'GitHub Actions')
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
swap-storage: false
large-packages: false

- uses: actions/checkout@v4

- name: Install dependencies
Expand Down Expand Up @@ -273,6 +265,17 @@ jobs:
cargo clippy --release --features evm -- -D warnings
echo "::endgroup::"
- name: Clean up disk
working-directory: ./tee-worker
run: |
echo "::group::Show disk usage"
df -h .
echo "::endgroup::"
cargo clean --profile release
echo "::group::Show disk usage"
df -h .
echo "::endgroup::"
- name: Tee-enclave clippy
working-directory: ./tee-worker/enclave-runtime
run: |
Expand Down

0 comments on commit 648aa8f

Please sign in to comment.