指定打包时的maven版本
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 48m56s
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 48m56s
This commit is contained in:
parent
1eca6e7bcf
commit
467b0c1086
@ -21,7 +21,10 @@ jobs:
|
||||
distribution: 'temurin' # 或者使用 'adopt', 'zulu' 等其他发行版
|
||||
cache: 'maven' # 自动缓存 Maven 依赖
|
||||
maven-version: '3.8.6' # 指定 Maven 版本
|
||||
|
||||
- name: Set up Maven
|
||||
uses: stCarolas/setup-maven@v4.5
|
||||
with:
|
||||
maven-version: '3.8.6'
|
||||
# 缓存Maven依赖
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user