mirror of
https://github.com/systemd/systemd
synced 2024-07-22 02:34:54 +00:00
CI: free up diskspace before mkosi jobs
The runner has a lot of useless things installed, taking ~10GB, and jobs have started to fail when booting images due to lack of disk space, so delete some directories to make room. 2024-02-27T20:20:58.0998709Z ##[warning]You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 0 MB Co-authored-by: Daan De Meyer <daan.j.demeyer@gmail.com>
This commit is contained in:
parent
793ceda177
commit
5e39dc2f30
5
.github/workflows/mkosi.yml
vendored
5
.github/workflows/mkosi.yml
vendored
|
@ -78,6 +78,11 @@ jobs:
|
|||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||
- uses: systemd/mkosi@070528fec478fc93af7ec057a5d2fd0045123c99
|
||||
|
||||
- name: Free disk space
|
||||
run: |
|
||||
sudo rm -rf /usr/local
|
||||
sudo rm -rf /opt/hostedtoolcache
|
||||
|
||||
- name: Configure
|
||||
run: |
|
||||
tee mkosi.local.conf <<EOF
|
||||
|
|
Loading…
Reference in a new issue