Skip to content
Permalink
Browse files
fix CodeQL error (#288)
  • Loading branch information
simon824 committed May 26, 2022
1 parent ce8a195 commit f6e6a7411b9a080b06c6275cdda1988010ea2556
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
@@ -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

@@ -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"

0 comments on commit f6e6a74

Please sign in to comment.