diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index eb4e056af2..565d7618c5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -19,7 +19,9 @@ jobs: run: | echo VERSION=$(echo ${{ github.event.head_commit.id }} | head -c 10) >> $GITHUB_ENV - name: Build with Gradle - run: bash ./gradlew -PappVerName=${{ env.VERSION }} assembleRelease + env: + GRADLE_OPTS: -Xmx1536m + run: bash ./gradlew -PappVerName=${{ env.VERSION }} --no-daemon assembleRelease - name: Upload built apk if: success() uses: actions/upload-artifact@v2