Skip to content

Commit 2124f7e

Browse files
IRusclaude
andauthored
Force task re-execution in CodeQL compile step (#17)
--no-build-cache (added in #15) stops Gradle from resolving compile tasks FROM-CACHE, but restored incremental state can still mark them UP-TO-DATE, in which case kotlinc never launches and CodeQL's manual-build extractor sees no compilation. Add --rerun-tasks so the scanned compile tasks always execute for real; dependency caching from setup-gradle stays in effect. Verified locally: the exact workflow command reports "27 actionable tasks: 27 executed" with zero UP-TO-DATE/FROM-CACHE outcomes. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 6a8a7a9 commit 2124f7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Compile JVM Kotlin sources
5050
run: >-
51-
./gradlew --stacktrace --no-build-cache
51+
./gradlew --stacktrace --no-build-cache --rerun-tasks
5252
:core:compileKotlinJvm
5353
:snapshot:compileKotlinJvm
5454
:wasi:compileKotlinJvm

0 commit comments

Comments
 (0)