更新 .gitea/workflows/demo.yaml
自动流水线示例 / 构建应用 (push) Successful in 1m55s Details

发布生产
This commit is contained in:
xiehaijun 2025-07-27 08:56:45 +00:00
parent ef143d4737
commit 708ee69467
1 changed files with 9 additions and 1 deletions

View File

@ -97,3 +97,11 @@ jobs:
check-latest: true check-latest: true
cache: 'maven' cache: 'maven'
# cache-dependency-path: 'sub-project/pom.xml' # optional # cache-dependency-path: 'sub-project/pom.xml' # optional
- name: 安装Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.11
- name: Maven打包
run: |
echo 'mvn clean install -DskipTests && mvn -B package --file pom.xml'
mvn --version