Ver Fonte

CI - also cleanup the jetified Urho3D AAR.
Otherwise the total cache size may exit the 5GB limit and undesired cache eviction starts to happen.

Yao Wei Tjong 姚伟忠 há 5 anos atrás
pai
commit
0e8ab24c16
1 ficheiros alterados com 7 adições e 1 exclusões
  1. 7 1
      .github/workflows/main.yml

+ 7 - 1
.github/workflows/main.yml

@@ -117,7 +117,13 @@ jobs:
           script/dockerized.sh ${PLATFORM/-*} rake test
         if: matrix.platform == 'android' || (startsWith(matrix.platform, 'linux') && matrix.platform != 'linux-clang-tidy' && matrix.platform != 'linux-clang-format')
       - name: Scaffolding - cleanup
-        run: if [[ $PLATFORM == android ]]; then rm -rf build/cache/.m2; else rm -rf build/cache/{stage,projects}; fi
+        run: |
+          if [[ $PLATFORM == android ]]; then
+            rm -rf build/cache/.m2
+            find build/cache/.gradle -name \*urho3d\* |xargs rm -rf
+          else
+            rm -rf build/cache/{stage,projects}
+          fi
         if: matrix.platform != 'linux-clang-tidy' && matrix.platform != 'linux-clang-format'
       - name: Package
         run: script/dockerized.sh ${PLATFORM/-*} rake package