Skip to content

Commit

Permalink
Merge pull request #603 from Neptune650/patch-1
Browse files Browse the repository at this point in the history
Free up space in Ubuntu actions
  • Loading branch information
louis030195 authored Oct 29, 2024
2 parents 266d8ee + deccee3 commit 53c93e5
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53c93e5

Please sign in to comment.