Skip to content

Commit 3dfe079

Browse files
S5012793-Reverted Audience-API Updated JDK Version to 11
1 parent 08c0b65 commit 3dfe079

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/checkout@v2
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16-
- name: Set up JDK 11
16+
- name: Set up JDK 17
1717
uses: actions/setup-java@v1
1818
with:
19-
java-version: 11
19+
java-version: 17
2020
- name: Cache SonarCloud packages
2121
uses: actions/cache@v1
2222
with:
@@ -33,4 +33,4 @@ jobs:
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3535
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
36-
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.java.jdkHome=pathToJdk11 -Dsonar.projectKey=Mastercard_promotions-digital-enablement-reference-app
36+
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Mastercard_promotions-digital-enablement-reference-app

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<sonar.organization>mastercard</sonar.organization>
2020
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
2121

22-
<java.version>1.8</java.version>
22+
<java.version>17</java.version>
2323
<openapi-generator.version>5.4.0</openapi-generator.version>
2424
<oauth1-signer.version>1.5.1</oauth1-signer.version>
2525
<client-encryption.version>1.7.1</client-encryption.version>

0 commit comments

Comments
 (0)