Skip to content

Commit 7176ab4

Browse files
committed
Free disk space
1 parent 33bb287 commit 7176ab4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/continous-integration.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ jobs:
3232
- name: Checkout git repository 🕝
3333
uses: actions/checkout@v2
3434

35+
- name: Free disk space
36+
# tries to make sure we do not run out of disk space, see
37+
# https://github.community/t5/GitHub-Actions/BUG-Strange-quot-No-space-left-on-device-quot-IOExceptions-on/td-p/46101
38+
run: |
39+
sudo swapoff -a
40+
sudo rm -f /swapfile
41+
sudo apt clean
42+
docker rmi $(docker image ls -aq)
43+
df -h
44+
3545
- name: Setup Node 🦝
3646
uses: actions/setup-node@v1
3747
with:

0 commit comments

Comments
 (0)