Skip to content

Commit 42b00f0

Browse files
committed
Enhance Gradle build configuration in CodeQL workflow.
Added `--no-daemon` and `--no-build-cache` options to ensure a clean and isolated build environment.
1 parent 50e93f7 commit 42b00f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ jobs:
4040
- name: Build
4141
run: >
4242
./gradlew
43+
--no-daemon
44+
--no-build-cache
4345
-Porg.gradle.java.installations.fromEnv=JAVA_HOME_${{ env.JDK_VERSION_OLDEST }}_X64,JAVA_HOME_${{ env.JDK_VERSION_LATEST }}_X64
44-
assemble check -x :doma-processor:check
46+
clean assemble check -x :doma-processor:check
4547
4648
- name: Upload reports
4749
if: failure()

0 commit comments

Comments
 (0)