]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Free up disk space before running integration tests 2344/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 8 Feb 2024 14:31:47 +0000 (15:31 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 8 Feb 2024 14:33:19 +0000 (15:33 +0100)
We shouldn't need anything from /usr/local and /opt/hostedtoolcache
so let's just nuke these directories before doing anything else.

.github/workflows/ci.yml

index a31e31443c2d32d793aeb97fef2cb84d0c25c9d6..887766e80a7d6cf76662f48f5b4dfe3074a33816 100644 (file)
@@ -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