88
99env :
1010 PUBLISH_BRANCH : ' deployment'
11- OKAPI_URL : ' https://orchid -dev-okapi.folio-dev.indexdata.com'
12- OKAPI_SECRET_USER : " ${{ secrets.ORCHID_DEV_OKAPI_USER }}"
13- OKAPI_SECRET_PASSWORD : " ${{ secrets.ORCHID_DEV_OKAPI_PASSWORD }}"
11+ OKAPI_URL : ' https://folio -dev-new -okapi.folio-dev.indexdata.com'
12+ OKAPI_SECRET_USER : " ${{ secrets.FOLIO_DEV_NEW_OKAPI_USER }}"
13+ OKAPI_SECRET_PASSWORD : " ${{ secrets.FOLIO_DEV_NEW_OKAPI_PASSWORD }}"
1414 OK_SESSION : ' session1'
1515
1616jobs :
@@ -22,10 +22,10 @@ jobs:
2222 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
2323 submodules : recursive
2424
25- - name : Set up JDK 17
25+ - name : Set up JDK 21
2626 uses : actions/setup-java@v4
2727 with :
28- java-version : 17
28+ java-version : 21
2929 distribution : ' temurin' # Alternative distribution options are available.
3030
3131 - name : Prepare okclient
@@ -66,14 +66,11 @@ jobs:
6666 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
6767 restore-keys : ${{ runner.os }}-m2
6868
69- - name : Maven build
70- run : mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install org.jacoco:jacoco-maven-plugin:report
71-
72- - name : SQ analyze
69+ - name : Build and SQ analyze
7370 env :
7471 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
7572 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
76- run : mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=indexdata -Dsonar.projectKey=indexdata_${{ github.event.repository.name }} -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml
73+ run : mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=indexdata -Dsonar.projectKey=indexdata_${{ github.event.repository.name }}
7774
7875 - name : Update ModuleDescriptor Id
7976 run : |
0 commit comments