Skip to content

Commit

Permalink
[CI] Free disk space to avoid IOExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Mar 26, 2020
1 parent f596255 commit ea7ca46
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ jobs:
runs-on: ubuntu-18.04

steps:
- name: Free disk space
run: |
df -h
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- uses: actions/checkout@v1
with:
path: swift
Expand Down

0 comments on commit ea7ca46

Please sign in to comment.