diff --git a/.gitea/workflows/build-deploy.yaml b/.gitea/workflows/build-deploy.yaml index 86e37fa..b78679e 100644 --- a/.gitea/workflows/build-deploy.yaml +++ b/.gitea/workflows/build-deploy.yaml @@ -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: