Browse Source

CI - free up more disk space.

Yao Wei Tjong 姚伟忠 5 years ago
parent
commit
46aa98c2b7
1 changed files with 5 additions and 4 deletions
  1. 5 4
      .github/workflows/main.yml

+ 5 - 4
.github/workflows/main.yml

@@ -65,10 +65,11 @@ jobs:
         uses: actions/checkout@v2
         with: { fetch-depth: 0 }
       - name: Free up space
-        run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android
-        if: |
-          matrix.platform == 'android' ||
-          (matrix.platform == 'mingw' && matrix.lib-type == 'static' && matrix.build-type == 'dbg')
+        run: |
+          sudo rm -rf /usr/share/dotnet /usr/local/lib/android
+          sudo apt-get clean
+          df -h
+        if: matrix.platform == 'android' || matrix.build-type == 'dbg'
       - name: Source checksum
         id: source_checksum
         run: rake source_checksum