Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Free up space in Ubuntu actions

Neptunedeccee3f7903
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 6dedc3a12..c6b848d5e 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -220,12 +220,20 @@ jobs:
- name: Free Disk Space (Ubuntu)
if: matrix.platform == 'ubuntu-22.04'
- run: |
- sudo swapoff -a
- sudo rm -f /swapfile
- sudo apt clean
- docker rmi $(docker image ls -aq)
- df -h
+ uses: jlumbroso/free-disk-space@main
+ with:
+ # this might remove tools that are actually needed,
+ # if set to "true" but frees about 6 GB
+ tool-cache: false
+
+ # all of these default to true, but feel free to set to
+ # "false" if necessary for your workflow
+ android: true
+ dotnet: true
+ haskell: true
+ large-packages: true
+ docker-images: true
+ swap-storage: true
- name: Build
uses: tauri-apps/tauri-action@v0