From: Daan De Meyer Date: Thu, 8 Feb 2024 14:31:47 +0000 (+0100) Subject: Free up disk space before running integration tests X-Git-Tag: v21~72^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2344%2Fhead;p=thirdparty%2Fmkosi.git Free up disk space before running integration tests We shouldn't need anything from /usr/local and /opt/hostedtoolcache so let's just nuke these directories before doing anything else. --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a31e31443..887766e80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,6 +130,11 @@ jobs: - uses: actions/checkout@v3 - uses: ./ + - name: Free disk space + run: | + sudo rm -rf /usr/local + sudo rm -rf /opt/hostedtoolcache + - name: Install run: | sudo apt-get update