mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-16 00:04:09 -05:00
free disk space on ubuntu runners
This commit is contained in:
parent
3b5f3d64d2
commit
6f29ba40b6
1 changed files with 18 additions and 0 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
|
@ -32,6 +32,24 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- name: Free disk space on Ubuntu runners
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
run: |
|
||||
echo "Initial free space:"
|
||||
df -h /
|
||||
|
||||
sudo rm -rf /usr/local/lib/android || true
|
||||
sudo rm -rf /usr/share/dotnet || true
|
||||
sudo rm -rf /opt/hostedtoolcache || true
|
||||
sudo rm -rf /usr/lib/jvm || true
|
||||
sudo rm -rf /usr/local/share/boost || true
|
||||
sudo rm -rf /usr/local/share/powershell || true
|
||||
sudo rm -rf /usr/local/.ghcup || true
|
||||
sudo rm -rf /usr/local/share/swift || true
|
||||
sudo docker system prune -af || true
|
||||
|
||||
echo "Free space after cleanup:"
|
||||
df -h /
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue