Skip to content

Commit

Permalink
java setup and maven build only if language is 'java-kotlin'
Browse files Browse the repository at this point in the history
  • Loading branch information
hhund committed Jan 11, 2024
1 parent 8311290 commit 44570fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up JDK 17
if: ${{ matrix.language == 'java-kotlin' }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand All @@ -39,6 +40,7 @@ jobs:
queries: security-extended, security-and-quality

- name: Compile with Maven
if: ${{ matrix.language == 'java-kotlin' }}
run: mvn --batch-mode --fail-at-end --threads 1C -Dmaven.javadoc.skip=true -Dimpsort.skip=true -Dformatter.skip=true -Dgpg.skip -Denforcer.skip -Dmaven.buildNumber.skip=true -Dexec.skip=true -DskipTests clean package

- name: Perform CodeQL Analysis
Expand Down

0 comments on commit 44570fa

Please sign in to comment.