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

fix: reduce build size on linux

Louis Beaumont46d8fcd95d4c
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 84aa36193..5130ef406 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -203,6 +203,15 @@ jobs:
with:
version: "10.0"
+ - 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
+
- name: Build
uses: tauri-apps/tauri-action@v0
env: