This is an automated email from the ASF dual-hosted git repository.

mibo pushed a commit to branch fix-codeql
in repository https://gitbox.apache.org/repos/asf/olingo-odata4.git

commit 103a28cb1d5188b9e58b8b3962083f4178a4733e
Author: mibo <[email protected]>
AuthorDate: Sun Oct 23 17:41:07 2022 +0200

    [OLINGO-1589] Fixed CodeQL GH action
---
 .github/workflows/codeql-analysis.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 9b83a5010..75ee5fa48 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -42,8 +42,14 @@ jobs:
       with:
         languages: ${{ matrix.language }}
 
-    - name: Autobuild
-      uses: github/codeql-action/autobuild@v2
+    - name: Set up JDK 8 (Corretto)
+      uses: actions/setup-java@v3
+      with:
+        java-version: '8'
+        distribution: 'corretto'
+        cache: maven
+    - name: Build with Maven
+      run: mvn -B install --file pom.xml --fail-at-end
 
     - name: Perform CodeQL Analysis
       uses: github/codeql-action/analyze@v2
\ No newline at end of file

Reply via email to