Skip to content

Commit

Permalink
CQI-10: change java version
Browse files Browse the repository at this point in the history
  • Loading branch information
olewandowski1 committed Nov 7, 2023
1 parent 68aca10 commit 436ec3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sonar-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 11
distribution: 'zulu'
- name: Cache SonarCloud packages
uses: actions/cache@v3
Expand All @@ -30,7 +30,7 @@ jobs:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: SonarCloud Scan
- name: Analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ sonarqube {
property "sonar.projectKey", "OpenLMIS_openlmis-template-service"
property "sonar.organization", "openlmis"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.source", "11"
}
}

Expand Down

0 comments on commit 436ec3e

Please sign in to comment.