From a8084d7bbfad1268254b38e95077f6d691d71f72 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 20 Aug 2021 11:52:10 +0300 Subject: [PATCH] Removed cache to solve metaspace error Got a "java.lang.OutOfMemoryError: Metaspace" error from https://github.com/yairm210/Unciv/runs/3380139617, and 10 upvotes at https://stackoverflow.com/questions/55210139/gradle-java-lang-outofmemoryerror-metaspace/55210866 say this is a gradle cache problem. So much for that. --- .github/workflows/buildAndDeploy.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/buildAndDeploy.yml b/.github/workflows/buildAndDeploy.yml index 451c422b2f..a183f49a90 100644 --- a/.github/workflows/buildAndDeploy.yml +++ b/.github/workflows/buildAndDeploy.yml @@ -33,15 +33,6 @@ jobs: - uses: actions/setup-java@v1 with: java-version: '11' - - # Cache gradle to improve runtime. For comparison, 20.08.21 - ~8m for full build. - - name: Cache Gradle packages - uses: actions/cache@v2 - with: - key: "Gradle cache" - path: | - ~/.gradle/caches - ~/.gradle/wrapper # Runs a set of commands using the runners shell - name: check