File tree Expand file tree Collapse file tree 2 files changed +39
-20
lines changed Expand file tree Collapse file tree 2 files changed +39
-20
lines changed Load Diff This file was deleted. 
Original file line number Diff line number Diff line change 1+ name : " PR Build" 
2+ on :
3+   pull_request :
4+     branches :
5+       - master 
6+       - main 
7+ jobs :
8+   build :
9+     name : Build 
10+     runs-on : ubuntu-20.04 
11+     strategy :
12+       fail-fast : false 
13+       matrix :
14+         java-version :
15+           - 11 
16+           #  - 17 Until Java 6 is not targeted this won't work
17+         java-distribution :
18+           #   - adopt-openj9 For now building was already exists
19+           - temurin  #  OpenJDK
20+     steps :
21+ 22+         with :
23+           fetch-depth : 0 
24+       - name : Set up JDK 
25+         uses : actions/setup-java@v2 
26+         with :
27+           java-version : ' ${{ matrix.java-version }}' 
28+           distribution : ' ${{ matrix.java-distribution }}' 
29+       - name : Caching 
30+         uses : actions/cache@v2 
31+         with :
32+           path : ~/.m2 
33+           key : maven-${{ hashFiles('**/pom.xml') }}-${{ matrix.java-version }}-${{ matrix.java-distribution }} 
34+       - name : Build 
35+         run : | 
36+           java -version 
37+           ./mvnw clean install 
38+ name : Build Java Doc 
39+         run : ./mvnw javadoc:jar 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments