Skip to content

Commit

Permalink
Clean up disk.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhlogin committed Dec 17, 2024
1 parent b6a1e51 commit aa46e97
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,22 @@ jobs:

- uses: gradle/wrapper-validation-action@v1

# Check disk usage before cleanup
- name: Check disk usage before cleanup
run: df -h

# Cleanup directories before proceeding with setup
- name: Clean up old installations
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
# Check disk usage after cleanup
- name: Check disk usage after cleanup
run: df -h

# cache local patch outputs
- name: Cache local Maven repository
uses: actions/cache@v3
Expand Down Expand Up @@ -149,3 +165,7 @@ jobs:
arguments: build --stacktrace -PenableCoverage=true
- uses: codecov/codecov-action@v3

# Check disk usage after cleanup
- name: Check disk usage after worflow
run: df -h

0 comments on commit aa46e97

Please sign in to comment.