Skip to content

Commit c7ade7f

Browse files
committed
chore: free space
1 parent fa848fd commit c7ade7f

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/cloud_integration_ci.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ jobs:
4646
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
4747
ref: ${{ github.event.client_payload.pr_ref || inputs.pr_ref }}
4848

49+
- name: Free disk space on runner
50+
run: |
51+
echo "Disk usage before cleanup:"
52+
df -h
53+
sudo rm -rf /usr/share/dotnet
54+
sudo rm -rf /opt/ghc
55+
sudo rm -rf /usr/local/share/boost
56+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
57+
docker builder prune -af || true
58+
docker image prune -af || true
59+
echo "Disk usage after cleanup:"
60+
df -h
61+
4962
- name: Install prerequisites
5063
run: |
5164
sudo apt-get update

0 commit comments

Comments
 (0)