File tree Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 11SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
2- SPDX-License-Identifier: AGPL-3.0-or-later
2+ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
Original file line number Diff line number Diff line change @@ -67,13 +67,10 @@ jobs:
6767 - name : Run analysis wrapper
6868 env :
6969 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
70-
71- # Memory that is set in jvmargs must be wisely chosen.
72- # E.g. with -Xmx5g and -Xmx1g android talk builds always failed with "The operation was canceled". -Xmx3g seems to work so far.
7370 run : |
7471 mkdir -p "$HOME/.gradle"
7572 {
76- echo "org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g "
73+ echo "org.gradle.jvmargs=-Xmx1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
7774 echo "org.gradle.configureondemand=true"
7875 echo "kapt.incremental.apt=true"
7976 } > "$HOME/.gradle/gradle.properties"
Original file line number Diff line number Diff line change 5555 run : |
5656 mkdir -p "$HOME/.gradle"
5757 echo "org.gradle.jvmargs=-Xmx3g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
58- ./gradlew assembleDebug
58+ ./gradlew --no-daemon assembleDebug
5959 - name : Perform CodeQL Analysis
6060 uses : github/codeql-action/analyze@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
Original file line number Diff line number Diff line change 11SPDX-FileCopyrightText: 2019-2025 Nextcloud GmbH and Nextcloud contributors
2- SPDX-License-Identifier: AGPL-3.0-or-later
2+ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
Original file line number Diff line number Diff line change 33#
44# SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
55# SPDX-FileCopyrightText: 2019-2022 Tobias Kaminsky <[email protected] >6- # SPDX-License-Identifier: AGPL-3.0-or-later
6+ # SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
77#
88
99# 1: LOG_USERNAME
You canβt perform that action at this time.
0 commit comments