Skip to content

Commit 8937e50

Browse files
committed
Add disk space cleanup step to prevent build failures
1 parent 1feda96 commit 8937e50

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publishLedger.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
uses: docker/setup-qemu-action@v2
2222
- name: Set up Docker Buildx
2323
uses: docker/setup-buildx-action@v2
24+
- name: Free disk space
25+
run: |
26+
sudo rm -rf /usr/share/dotnet
27+
sudo rm -rf /usr/local/lib/android
28+
sudo rm -rf /opt/ghc
29+
sudo rm -rf /opt/hostedtoolcache/CodeQL
30+
docker system prune -af
2431
- name: Login to Docker Hub
2532
uses: docker/login-action@v2
2633
with:

0 commit comments

Comments
 (0)