From 7fd649271a6c5cafafb2ee15fa72f25f2ad9e0d4 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Fri, 23 Feb 2024 13:24:22 +0800 Subject: [PATCH] Workaround Java out of memory error. --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 49a819bf..70fc1484 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,8 @@ jobs: strategy: matrix: build_type: [Debug, Release] + env: + JAVA_OPTS: '-Xmx10G' steps: - name: Prepare Environment run: sudo apt-get update && curl -Lo kitware-archive.sh https://apt.kitware.com/kitware-archive.sh && sudo bash ./kitware-archive.sh @@ -62,4 +64,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: love-android-unstripped-debugsyms-${{ matrix.build_type }} - path: love/build/intermediates/cxx + path: app/build/intermediates/cxx