Java: Use compile-jdk17 profile in Java codeql build (#3285)

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
This commit is contained in:
John Oliver
2023-10-24 18:16:24 +01:00
committed by GitHub
parent 3f1833ba69
commit 28bfb26683
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
- name: Build Java
if: ${{ matrix.language == 'java' }}
run: ./mvnw -B -DskipTests -Pcompile-jdk11 clean install --file pom.xml
run: ./mvnw -B -DskipTests -Pcompile-jdk17 clean install --file pom.xml
working-directory: java
# ℹ️ Command-line programs to run using the OS shell.