Skip to content

Commit f6e5a15

Browse files
authored
chore: copy paste code for co-pilot (#1198)
Co-pilot is not able to update the file in the branch it has created.
1 parent f428993 commit f6e5a15

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,23 @@ jobs:
2626
with:
2727
distribution: temurin
2828
java-version: '21'
29-
- name: Autobuild
30-
uses: github/codeql-action/autobuild@v4
29+
30+
# --- Replaced Autobuild with explicit, controlled build steps ---
31+
- name: Print Java & Maven environment
32+
run: |
33+
java -version
34+
mvn -v
35+
echo "MAVEN_OPTS=$MAVEN_OPTS"
36+
37+
- name: Clear Kotlin build-tools (force re-download)
38+
run: |
39+
rm -rf ~/.m2/repository/org/jetbrains/kotlin/kotlin-build-tools-impl || true
40+
41+
- name: Build with Maven (disable Kotlin daemon)
42+
env:
43+
MAVEN_OPTS: "-Dkotlin.daemon.enabled=false -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false $MAVEN_OPTS"
44+
run: |
45+
mvn -B -V -DskipTests clean package
46+
3147
- name: Perform CodeQL Analysis
3248
uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)