File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 88  build :
99    runs-on : ubuntu-latest 
1010
11+     strategy :
12+       matrix :
13+         java_version :
14+           - ' 8' 
15+           - ' 11' 
16+           - ' 17' 
17+           - ' 21' 
18+ 
1119    steps :
1220    - uses : actions/checkout@v4 
1321    - name : Set up JDK 
1422      uses : actions/setup-java@v2 
1523      with :
16-         java-version : ' 8' 
24+         java-version : ${{ matrix.java_version }} 
25+         distribution : temurin 
26+         cache : ' maven' 
27+     - name : Build with Maven 
28+       run : mvn -B clean test install --file pom.xml 
1729    - name : Analyze with SonarCloud 
1830      run : | 
1931        if ["$SONAR_TOKEN" != ""]; then 
20-           mvn -B verify sonar:sonar -Dsonar.projectKey=tupilabs_HumanNameParser.java -Dsonar.organization=tupilabs -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN || true  
32+           mvn -B verify sonar:sonar \ 
33+             -Dsonar.projectKey=tupilabs_HumanNameParser.java \ 
34+             -Dsonar.organization=tupilabs \ 
35+             -Dsonar.host.url=https://sonarcloud.io \ 
36+             -Dsonar.login=$SONAR_TOKEN || true  
2137        fi 
2238       env :
2339        GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments