Skip to content

Commit ecec905

Browse files
committed
Fix Gradle build failure: add clean task and improve JVM configuration for Kotlin compilation
1 parent 4aff50b commit ecec905

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/Techousecodeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ jobs:
7171
- name: Run Gradle build
7272
run: |
7373
chmod +x ./gradlew
74-
./gradlew assembleDebug --no-daemon --info
74+
./gradlew clean assembleDebug --no-daemon --info -Dorg.gradle.jvmargs="-Xmx2048m" --gradle-user-home=/home/runner/.gradle
7575
env:
76-
GRADLE_OPTS: "-Xmx2048m"
76+
GRADLE_OPTS: "-Xmx2048m -XX:+UseG1GC"
7777

7878
- name: Perform CodeQL Analysis
7979
uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)