Skip to content

Commit 48acbb6

Browse files
🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
1 parent 42f1a8e commit 48acbb6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/analysis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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"

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ jobs:
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

0 commit comments

Comments
 (0)