free disk space in release action

This commit is contained in:
Sebastián Estévez 2020-05-04 10:10:01 -04:00 committed by GitHub
parent 60886c2acc
commit 156136b12d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,14 @@ jobs:
- name: set git email
run: git config --global user.name "${{ secrets.NBDROID_NAME }}"
- name: free disk space
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: Cache Maven packages
uses: actions/cache@v1
with: