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.
This commit is contained in:
Yair Morgenstern 2021-08-20 11:52:10 +03:00 committed by GitHub
parent 871f6a8101
commit a8084d7bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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