指定打包时的maven版本
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 48m56s

This commit is contained in:
hxuanyu 2024-11-04 15:27:48 +08:00
parent 1eca6e7bcf
commit 467b0c1086

View File

@ -21,8 +21,11 @@ jobs:
distribution: 'temurin' # 或者使用 'adopt', 'zulu' 等其他发行版
cache: 'maven' # 自动缓存 Maven 依赖
maven-version: '3.8.6' # 指定 Maven 版本
# 缓存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
with: