Skip to content

Commit

Permalink
Merge pull request #3317 from dependabot/feelepxyz/free-actions-disk
Browse files Browse the repository at this point in the history
Attempt to fix builds running out of disk space
  • Loading branch information
feelepxyz authored Mar 22, 2021
2 parents 7c5e0c5 + 971531d commit 47351a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Free up disk space
run: |
sudo apt autoremove --purge && sudo apt -y clean
docker system prune -af --volumes
sudo swapoff -a
sudo rm -f /swapfile
df -h
- name: Prepare environment variables
run: |
echo "BRANCH_REF=$(echo '${{ github.ref }}' | sed -E 's/[^A-Za-z0-9]+/-/g')" >> $GITHUB_ENV
Expand Down

0 comments on commit 47351a1

Please sign in to comment.