mirror of
				https://github.com/suyiiyii/SIMS.git
				synced 2025-11-04 15:54:52 +08:00 
			
		
		
		
	```javarefactor(maven): 将Java版本更新到21
更新CI工作流和pom.xml中的Java版本。此更改包括将GitHub Actions工作流中使用的JDK版本从17更新到21, 以及将pom.xml中定义的Java版本属性从17更新到21,以适应新的Java版本。 ```
This commit is contained in:
		
							parent
							
								
									734960d031
								
							
						
					
					
						commit
						c080be0093
					
				
							
								
								
									
										4
									
								
								.github/workflows/maven.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/maven.yml
									
									
									
									
										vendored
									
									
								
							@ -22,10 +22,10 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v4
 | 
					    - uses: actions/checkout@v4
 | 
				
			||||||
    - run: rm -rf test.db
 | 
					    - run: rm -rf test.db
 | 
				
			||||||
    - name: Set up JDK 17
 | 
					    - name: Set up JDK 21
 | 
				
			||||||
      uses: actions/setup-java@v4
 | 
					      uses: actions/setup-java@v4
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        java-version: '17'
 | 
					        java-version: '21'
 | 
				
			||||||
        distribution: 'temurin'
 | 
					        distribution: 'temurin'
 | 
				
			||||||
        cache: maven
 | 
					        cache: maven
 | 
				
			||||||
    - run: mvn -B test --file pom.xml
 | 
					    - run: mvn -B test --file pom.xml
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user