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

jermy pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git


The following commit(s) were added to refs/heads/master by this push:
     new f6e6a74  fix CodeQL error (#288)
f6e6a74 is described below

commit f6e6a7411b9a080b06c6275cdda1988010ea2556
Author: Simon Cheung <[email protected]>
AuthorDate: Thu May 26 13:45:49 2022 +0800

    fix CodeQL error (#288)
---
 .github/workflows/codeql-analysis.yml | 9 ++++++++-
 hugegraph-hubble/hubble-dist/pom.xml  | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 3b552f7..4a613d5 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -60,9 +60,16 @@ jobs:
         
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # If this step fails, then you should remove it and run the build manually 
(see below)
-    - name: Autobuild
+    - if: matrix.language == 'python' || matrix.language == 'javascript'
+      name: Autobuild
       uses: github/codeql-action/autobuild@v2
 
+    - if: matrix.language == 'java'
+      name: Build Java
+      run: |
+        mvn install:install-file 
-Dfile=hugegraph-loader/assembly/static/lib/ojdbc8-12.2.0.1.jar 
-DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
+        mvn clean package -f "pom.xml" -B -V -e -Dfindbugs.skip 
-Dcheckstyle.skip -Dpmd.skip=true -Dspotbugs.skip -Denforcer.skip 
-Dmaven.javadoc.skip -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true 
-Drat.skip=true -Dspotless.check.skip=true
+
     # â„šī¸ Command-line programs to run using the OS shell.
     # 📚 See 
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
 
diff --git a/hugegraph-hubble/hubble-dist/pom.xml 
b/hugegraph-hubble/hubble-dist/pom.xml
index 1a76f40..bb5fda3 100644
--- a/hugegraph-hubble/hubble-dist/pom.xml
+++ b/hugegraph-hubble/hubble-dist/pom.xml
@@ -65,6 +65,7 @@
                             <tasks>
                                 <echo file="${top.level.dir}/dist.sh">
                                     cd ${hubble-fe.dir} || exit 1
+                                    export CI=false
                                     yarn install &amp;&amp; yarn build || exit 
1
                                     echo -e "Hubble-FE build successfully.\n"
 

Reply via email to