Skip to content

Commit

Permalink
add disk cleanup step to start of linux build action
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Aug 30, 2024
1 parent 53e93ab commit 4cc80f6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/build/linux/app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ inputs:
runs:
using: composite
steps:
- name: free disk space
shell: bash
run: |
set -x
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: install rpm, dpkg, fakeroot
shell: bash
run: |
Expand Down

0 comments on commit 4cc80f6

Please sign in to comment.