Skip to content

Commit 8a93f31

Browse files
hittytPangjiping
authored andcommitted
fix(ci): disable Gradle build cache for Kotlin SDK in Java E2E
Self-hosted runner's persisted build cache can serve stale class files from a previous branch, causing compilation errors when new methods (e.g. manualCleanup) are not found. Clean and disable build cache to ensure a fresh build every run. Made-with: Cursor
1 parent f2b8aa7 commit 8a93f31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/java-e2e.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ cd ..
5252
sleep 10
5353

5454
cd sdks/sandbox/kotlin
55-
./gradlew publishToMavenLocal
55+
./gradlew clean publishToMavenLocal --no-build-cache
5656
cd ../../../
5757

5858
cd sdks/code-interpreter/kotlin
59-
./gradlew publishToMavenLocal -PuseMavenLocal
59+
./gradlew clean publishToMavenLocal --no-build-cache -PuseMavenLocal
6060
cd ../../../
6161

6262
# run Java e2e

0 commit comments

Comments
 (0)