File tree Expand file tree Collapse file tree 1 file changed +9
-26
lines changed Expand file tree Collapse file tree 1 file changed +9
-26
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111
12-   build-jdk11  :
13-     name : " Build JDK 11 " 
12+   build-gradle  :
13+     name : " Build" 
1414    runs-on : ubuntu-latest 
15-     services :
16-       gitlab-instance :
17-         image : gitlab/gitlab-ce:12.9.2-ce.0 
18-         env :
19-           GITLAB_OMNIBUS_CONFIG : gitlab_rails['initial_root_password']="password";gitlab_rails['lfs_enabled']=false; 
20-         ports :
21-           - 8090:80 
2215    steps :
23-       - uses : actions/checkout@v2  
16+       - uses : actions/checkout@v4  
2417        with :
2518          fetch-depth : 0 
26-       - name : Set up  JDK 11
27-         uses : actions/setup-java@v2  
19+       - name : Setup  JDK 11
20+         uses : actions/setup-java@v3  
2821        with :
29-           distribution : adopt-hotspot 
22+           distribution : temurin 
3023          java-version : 11 
31-       - name : Get Date 
32-         id : get-date 
33-         run : | 
34-           echo "date=$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT 
35-          shell : bash 
36-       - name : Cache Maven Repository 
37-         id : cache-maven 
38-         uses : actions/cache@v2 
39-         with :
40-           path : ~/.m2/repository 
41-           #  refresh cache every month to avoid unlimited growth
42-           key : gitlab4jmaven-${{ steps.get-date.outputs.date }} 
24+       - name : Setup Gradle 
25+         uses : gradle/actions/setup-gradle@v3 
4326      - name : GitLab4j verify 
4427        id : gitlab4j-verify 
4528        run : | 
46-           ./mvnw verify -B -V  
29+           ./gradlew build --console=PLAIN --stacktrace  
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments