Skip to content

Commit

Permalink
Workaround to avoid no space left on GH actions (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinguitar authored Aug 4, 2024
1 parent 9ac8dc0 commit a0d9a9c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ jobs:
java-version: '17'
distribution: 'temurin'

# https://github.com/actions/runner-images/discussions/7188
- name: Increase swapfile
# https://github.com/orgs/community/discussions/26351#discussioncomment-3251595
- name: Free Disk Space
run: |
sudo swapoff -a
sudo fallocate -l 15G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
# https://www.droidcon.com/2023/04/04/securely-create-android-release-using-github-actions/
- name: Decode Keystore and Google Service file
Expand Down

0 comments on commit a0d9a9c

Please sign in to comment.